[Opensource] deleteAll() error?
Gabor Nagypal
nagypal at web.de
Wed Sep 24 05:00:09 PDT 2003
Hi,
I use Expresso5.3rc3. Trying to run deleteAll() in a transaction yields
the following error message:
ERROR [main] dbobj.DBObject (DBObject.java:1818) - Error performing
deleteAll
com.jcorporate.expresso.core.db.DBException:
com.jcorporate.expresso.core.db.DBConnection.next():Error retrieving
next row for statement DELETE FROM Resource WHERE id =
'expressoTest:#i-1064404574995-16294950'
(org.vicodi.expresso.dbobj.LinkResourceResRoleDBO):Connection is closed.
Operation is not permitted.
"In transaction" means using the
myPool =
DBConnectionPool.getInstance(TestSystemInitializer.getTestContext());
myConnection = myPool.getConnection();
myConnection.setAutoCommit(false);
xxxDBO resource = new xxxDBO(myConnection);
pattern.
As all of the other operations work such way (including simple delete())
I suppose it is an error in Expresso.
Regards,
Gabor
More information about the Opensource
mailing list