jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: [jira] Updated: (JCR-862) unsynchronized access on 'itemCache' map in ItemManager
Date Thu, 20 Sep 2007 12:40:31 GMT

On 9/20/07, Thomas Mueller <thomas.tom.mueller@gmail.com> wrote:
> You have also commented out setAutoCommit(true):
> --- BundleDbPersistenceManager
>         con = DriverManager.getConnection(url, user, password);
> -        con.setAutoCommit(true);
> +        //con.setAutoCommit(true);

Hmm, that's correct. It's an accidental change in revision 535830 that
I just merged to the 1.3 branch. I'll merge also the fix from revision

> In my view this line can be completely removed, as by default
> autoCommit is true anyway (for each database).

It might be set otherwise in some local configuration or even the
database connection string, so I guess it would make sense to
explicitly set the autocommit status.


Jukka Zitting

View raw message