| use Hibernate connection pool [message #631365] |
Thu, 07 October 2010 05:38 |
Dave Missing name Messages: 20 Registered: October 2010 |
Junior Member |
|
|
Hi,
On the server side, we need to override design-time connection string as Jason suggested:
task.getAppContext().put("OdaJDBCDriverPassInConnection", myconn);
Our web application use Hibernate that uses c3p0 connection pool. I am wondering if it is possible to get a connection from that pool for better performance. It is easier to config and manage have one connection pool.
I can get CurrentSession from EntityManagerFactory, but I can not get connection from session.
Thanks for help.
Dave
|
|
|
Powered by
FUDForum. Page generated in 0.01642 seconds