--On Friday, January 17, 2003 8:22 PM +0100 fabrice jean <[EMAIL PROTECTED]> wrote:
I've got a problem with an update :db.begin(); reqOql = db.getOQLQuery("SELECT p FROM MyApp.Value p"); results = reqOql.execute(); value = (Value) results.next(); value.setNumber(45); db.update(value); db.commit(); ...I have the following exception org.exolab.castor.jdo.DuplicateIdentityException: update object which is already in the transaction at org.exolab.castor.persist.TransactionContext.markUpdate(Transacti onContext.java:948) at org.exolab.castor.persist.TransactionContext.update(TransactionCo ntext.java:1025) Thanks for any help! ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais ! Yahoo! Mail : http://fr.mail.yahoo.com ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
---------------------------------------
Lanaghan, Kevin M
Vanderbilt University
Email: [EMAIL PROTECTED]
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
