]
[EMAIL PROTECTED] cc:
eforge.net Subject: [Hibernate]
Saving Children with composite-id
: '[EMAIL PROTECTED]'
Subject: RE: [Hibernate] Saving Children with composite-id
saveOrUpdate() requires that
(1) the object has an identifier property
(2) the identifier class implements equals() and hashCode()
(3) unsaved-value is set correctly
I recommend that you try enabling
if that helps.
Matt
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, January 20, 2003 6:04 PM
To: Raible, Matt
Cc: '[EMAIL PROTECTED]'
Subject: RE: [Hibernate] Saving Children with composite-id
I *think* that you would just have to set unsaved-value
by: [EMAIL PROTECTED]
[EMAIL PROTECTED] cc:
eforge.net Subject: RE:
[Hibernate] Saving Children with composite-id
with composite-id
Looks like you need to add a name attribute to the
composite-id element,
to
specify which property holds the composite id.
Subject: [Hibernate] Saving Children with composite-id
I have a composite-id element