[hibernate] many-to-many with additional data

From: Pawel Rozynek (prozz_at_wp.pl)
Date: 11/16/04

  • Next message: Earl Hokens: "Re: Invalid parameter binding"
    Date: Tue, 16 Nov 2004 15:32:20 +0100
    
    

    Hello!

    I've got following relational structure:

    table A:
    id,
    name,
    other data...

    table B:
    id,
    name,
    other data...

    table C:
    a_id,
    b_id,
    startDate,
    stopDate.

    How to write some hbm files or beans to visualize those additional data
    (startDate and stopDate)? Without those columns it would be normal
    many-to-many relation...

    Maybe somewhere on the net there are examples of strange hibernate
    mappings? ;]

    Any help would be very appreciated!

    -- 
    Pawel Rozynek
    

  • Next message: Earl Hokens: "Re: Invalid parameter binding"

    Relevant Pages

    • Selecting adjacent cell
      ... The temp data starts at cell c3 and humidity starts ... Application.WorksheetFunction.Max.cell.offset' Temp ... Stopdate = Startdate + 1 ... If Startdate <= Stopdate Then ...
      (microsoft.public.excel.programming)
    • RE: Function to calculate yearly billing amount
      ... "Mymind" wrote: ... Only output record:Billyear = Yearand nummonths= MonthsBetween. ... ID 3 has three years that occur between StartDate and StopDate ...
      (microsoft.public.access.modulesdaovba)
    • RE: Function to calculate yearly billing amount
      ... "Mymind" wrote: ... ID 3 has three years that occur between StartDate and StopDate ... In your first record, it will return 11, so if you want it to return 12, then ...
      (microsoft.public.access.modulesdaovba)
    • RE: Function to calculate yearly billing amount
      ... What I am stuck getting is the number of months within each year within the ... ID 3 has three years that occur between StartDate and StopDate ... In your first record, it will return 11, so if you want it to return 12, then ...
      (microsoft.public.access.modulesdaovba)