Configure Hibernate to obtain a fresh connection from a connection pool.

Posted by ferrari fan on Stack Overflow See other posts from Stack Overflow or by ferrari fan
Published on 2010-04-15T19:37:00Z Indexed on 2010/04/15 23:43 UTC
Read the original article Hit count: 196

Filed under:
|
|
|

How do I configure Hibernate so that each time I call sessionFactory.openSession() it connects with a new connection from the connection pool? The connection pool is managed by Websphere Application Server and is a JDBC Data Source.

Thanks

© Stack Overflow or respective owner

Related posts about hibernate

Related posts about java