This one time, at band camp, Sven Kuenzler said:
SK>The offending ejbStore method:
SK>
SK> public void ejbStore() {
SK> try {
SK> Database db = jdo.getDatabase();
SK> if (!db.isPersistent(data)) {
SK> db.update(data); // <-- Exception!
SK> }
SK> db.close();
SK> } catch(Exception e) {
SK> e.printStackTrace();
SK> throw new EJBException(e);
SK> }
SK> dirty = false;
Where is the db.begin() and db.commit()? These should surround the
db.update() somehow. All I see is the possible db.update() and then
a db.close().
Bruce
--
perl -e 'print unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev