1?I try to use JOTM's objectweb to manage data connection and Transaction,but I find that connection can't clear cursor.
config:
org.objectweb.jndi.DataSourceFactory to get DataSource
org.objectweb.jotm.UserTransactionFactory to get Transaction
2?I try to use JOTM's DBCP to get connection and use objectweb to get Transaction,but i find that the transaction no use.
config:
org.apache.commons.dbcp.BasicDataSourceFactory to get DataSource org.objectweb.jotm.UserTransactionFactory to get Transaction
3?I try to use JBOSS to get Transaction and use DBCP to get connection but I find that the transaction no use.
config:
org.apache.commons.dbcp.BasicDataSourceFactory to get connection.
get jboss's UserTransaction
4?I try to get jboss's UserTransaction and get jboss's datasource ,but i find that the connection can't get just because of the datasource's jndi is local and couldn't get.
How to resolve this problem?Thank you!