[jboss-user] [JBossCache] - Re: Urgent- Socket error when adding object to DB using JDBC

manik.surtani@jboss.com do-not-reply at jboss.com
Tue Oct 10 12:25:52 EDT 2006


What does this change actually do?  It just seems to create a new connection and store it in threadlocal when the cacheloader  is constructed, and that's it.

So all it does is store a conn for a particular thread (the one that starts the cache).  Other threads will still have to call getConnection() each time with a prepare().

Am I missing something, how does this result in being able to deal with capacity better?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977301#3977301

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977301



More information about the jboss-user mailing list