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(TransactionContext.java:948)
at
org.exolab.castor.persist.TransactionContext.update(TransactionContext.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