Hello
I configure LocalTxDataSource in my jboss-beans.xml
<bean name="StagingDSBootstrap"
class="org.jboss.resource.adapter.jdbc.local.LocalTxDataSource">
| <property
name="driverClass">org.hsqldb.jdbcDriver</property>
| <property
name="connectionURL">jdbc:hsqldb:file:test-output/staging</property>
| <property name="userName">sa</property>
My test accesses to Datatasource through JNDI:
datasource = (DataSource) new InitialContext().lookup(jdbcUrl);
and then to connection warper:
connection = datasource.getConnection();
connection instanceof WrappedConnection
and when I close it by
connection.close()
WrappedConnection puts real JDBC connection to the connection pool.
But I need to close JDBC connection!!!
How i can to do this? or How I can disable the connection pooling in jboss-beans.xml? or
In which forum I should post this question?
thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988214#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...