There appears to be a change in behavior in the Database.makePersistent
method. In OJB 1.0RC7 the Database.makePersistent class would update the
primary key field of the object being persisted (autoincrement) even
before the transaction was committed (I.E. right after the
makePersistent call). It appears that in OJB 1.0.4 the primary key value
does not get updated until the transaction is committed.

 

Is there any way to have makePersistent set the primary key value (it
can't be a transient value, it has to be the balue eventually stored in
the database)?

 

Thanks in advance,

 

-Dirk

Reply via email to