fabrice jean 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();
Your modified object is already persistent, remove
the update()-comand and it should work.
Steffen
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
