db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendleton.de...@gmail.com>
Subject Re: Derby 10.8.2.2, JTA on GlassFish 3.1.2.2 and very strange behavior
Date Mon, 18 Feb 2013 15:48:20 GMT
On 02/18/2013 07:40 AM, Wujek Srujek wrote:
> Hi. But why is there any local transaction? I haven't started any, I just set autoCommit
to false

There is always a transaction; Derby won't let you ever
access the database without one.

What auto-commit does is to automatically commit the
transaction after each statement is executed.

But any time you issue a statement against the database,
if there isn't already a transaction begun, one is started
for you.

thanks,

bryan



Mime
View raw message