Oliver Zeigermann <[EMAIL PROTECTED]> writes:
Martin Holz wrote:
Oliver Zeigermann <[EMAIL PROTECTED]> writes:
Btw is it acceptable to call connection.setAutocommit(false) in J2EE store?
No, I do not think so, but this is not done, is it?
The connection I get is set to autocommit = false :-(. No sure if
it is configuration problem of the servlet container.
I do not understand... I understand "autocommit = false" is just right! Or did your mean "autocommit = true".
Yes, I meant true. Sorry for the noise.
Hmmm, this really makes me wonder, are you using a "real" full J2EE server or just Tomcat? Anyway, I think we can savely add a check if the connection has autocommit disabled and if so enable it, just like in the JDBC store. I think if it is a full J2EE server autocommit will never be disabled and if not it should be ok to enable it.
Oliver
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
