List Info

Thread: JDBCGroupDatabase and autocommit




JDBCGroupDatabase and autocommit
user name
2006-10-27 21:29:00
Milt,

The strategy I used was to nail up a connection when  
JDBCGroupDatabase starts. The same connection is kept open
the whole  
time... so turning off autocommits during initialization
should be  
fine, shouldn't it?

I'm open to suggestions if you think this wouldn't work.

Andrew

On Oct 24, 2006, at 2:05 AM, Milt Taylor wrote:

> Another little problem for you!
>
> The code for this functionality attempts to turn off
autocommit and  
> use explicit commits. Unfortunately, this may be
relying on an  
> assumption that database connection pooling is not
being used?
>
> (i.e. the connection on which it disables autocommit
may not end up  
> being the connection that it uses for actual queries
later on)
>
> Cheers,
> Milt
>
> _______________________________________________
> Jspwiki-users mailing list
> Jspwiki-usersecyrd.com
> http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users

_______________________________________________
Jspwiki-users mailing list
Jspwiki-usersecyrd.com
http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )