hey Sean,
I have to agree with Adrian, your mapping is not quite right.
Why does the primary key contain the seqId field? Is owner and source
alone not unique?
Trust me, if you keep your table relations simple, then your mapping
becomes straightfoward and things go a lot smoother!
Rakesh
On Fr
Well I thougth that you have a problem with your mapping, because
Record has a composite key and in the relation with RecordDetails you
only map "seqId".
I am not an expert on hibernate, it is only a novice opinion.
2010/7/1, Sean Comerford :
> Hours of googling have failed so I'm hoping one of yo
Hours of googling have failed so I'm hoping one of you JavaPosse list
geniuses can bail me out here :-)
I have what I think is a pretty simple relationship between two DB tables.
Record
-
int seqId (key)
int owner (key)
String source (key)
... other non key fields ...