service « Connection « JPA Q&A

1. Hibernate as Service, multiple datasources

2. hibernate.connection.release_mode in jboss-service.xml

Newbie Joined: Mon Jan 08, 2007 9:26 am Posts: 4 I'm using Hibernate 3.1.3 with Oracle 10 within JBOSS 4.0.4 as follows: datasource definition (*-ds.xml) + jboss-service.xml + the *.hbm.xml mappings in a har. The problem I have is that that for each prepared statement Hibernate is getting a connection from the pool, but not releasing it after executing the prepared ...