Dear fellow ojb users,
i faced a problem with ojb:
if you have a class A with the id of the column which is autoincremented,
when you create a new object foo instance of A .
OJB insert all the column excepted the autoincremented one, then fetch in
the database the id of the newly stored
Hi Matthieu,
Did you try to use cascade-update=true on a reference to the collection of
objects (M part in 1:M relationship) you are trying to update?
Sergey
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, October 07, 2005 7:53 AM
To:
[EMAIL PROTECTED] wrote:
When you insert an object with an id, OJB insert the object without the ID
specified so the id is not the same in the database and in the object because
in this case OJB don't fetch the new ID and don't update the object.
I think that isn't the right way. We use also