Anyone using mysql successfully? PLEASE help.
I can not update using long transaction, I get the following exception:
<exception>
org.exolab.castor.jdo.PersistenceException: The identity of a data object of
type com.fdplus.phonebook.Classified has been changed from 26 to 27 since it
is loaded/created/update.
at org.exolab.castor.persist.ClassMolder.preStore(Unknown
Source)
at org.exolab.castor.persist.LockEngine.preStore(Unknown
Source)
at
org.exolab.castor.persist.TransactionContext.preStore(Unknown Source)
......
</exception>
I tried key-generator="IDENTITY" and "MAX" in the mapping with no cigar.
Although I think it's very un-elegant for a web application, I tried using
short transaction. Castor sucessfully updates the parent object but deletes
the aggregated objects and creates new ones with new primary keys.
I've been through the archives and saw similar problems but no solutions.
Thank you gentlemen.
BTW: anyone using ObjectRelationBridge for the JDO and castor for XML? if
so, it that a better alternative?
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev