[jboss-user] [Microcontainer] - Re: disable connection pool
gedel
do-not-reply at jboss.com
Thu Nov 23 06:13:54 EST 2006
>>I dont understand why do you want to this
It is for test purposes only. I need to shutdown Embeded HSQLDB to backup dbase.script file after exporting dbase schema (by hibernate), before my tests started. But connection with closed HSQLDB retain in the pool. Then application access to it ... ba-ba-ah!!!. Therefore I need to manually close it.
I can'to solve my problem with direct JDBC code, because my application accesses to Datasources and UserTransaction through JNDI. I'm use microcontainer only for this purposes (JNDI & Tx). Certainty I can implement by my hands, but i afraid that it will be painful ...
I was expect that "no-pooling" mode is easy configurable on xml.
Ok. Which classes I should extends to provide "no-pooling" mode?
I think that is WrappedConnection, CachedConnectionManager, LocalTxDataSource
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988121#3988121
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988121
More information about the jboss-user
mailing list