[jboss-user] [JCA/JBoss] - Re: disable connection pool

weston.price@jboss.com do-not-reply at jboss.com
Fri Nov 24 00:48:37 EST 2006


Ok, I see, this is an custom class used for POJO/EJB3 based deployments. This was never really meant to be used in this manner. 

If you do not want the connection pooled you would need to use some other form for acquiring your connection. DriverManager.getConnection() would be the most appropriate. A simple wrapper for this functionality should be sufficient. Also, most JDBC vendors provide non-pooled DataSource implementations that you can use directly. You would just set this up as a bean and set the properties that you need. 


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

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



More information about the jboss-user mailing list