Hello all, a question concerning Torque and Transaction handling. We are using Torque 3.1 with Bea 8.1. Tx should be handled by the Container. What is the best strategy to disable Torque's own transaction?
I've been playing around with Transaction.beginOptional(), but don't like to do these calls in every finder or save method. Is there a property to set? Or a hook to get into? This is how I would solve it by now: ----- Connection conn = Transaction.beginOptional(Torque.getDefaultDB(), false); conn.setAutoCommit(false); MyPeer.doInsert/Update/Delete(Criteria, conn); Torque.closeConnection(conn); ------ Thx for your help, Daniel --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
