pool « Transaction « JPA Q&A





1. Hibernate session.close() not returning connection to pool    stackoverflow.com

My application has long running transactions and hence I tried the option session.close() at the end of every method to ensure that the connection objects are not held indefinitely for long ...

2. Nullpointer at hibernate begin transaction    stackoverflow.com

I'm using hibernate with connection pooled datasource

<bean id="dataSource" class="oracle.jdbc.pool.OracleDataSource"  destroy-method="close">
            <property name="connectionCachingEnabled" value="true" />
      ...

3. Hibernate lock wait problem    stackoverflow.com

We have a Java application that listens sockects and records the parsed information to MySql database. We are using hibernate as ORM layer. Whole persistance process is handled by a dedicated ...

4. Apache Camel - Routing messages to JPA endpoint - keeping orders but splitting into pools based on a category header    stackoverflow.com

We have simple project which takes a number of messages from a number of endpoints(agents). These agents all output the same format message (an entity object to be placed in a ...

5. Connetion pool for XA transactions    forum.hibernate.org

6. Transaction, pooling and jTDS    forum.hibernate.org

7. Concurrent Connection Pools    forum.hibernate.org

8. Dead Lock: Isolater starves Connection Pool    forum.hibernate.org

Hi all, I guess I found a major bug, but I request your opinion before report it in Jira. By the way any workaround are welcome. So, here is the bug. Test Case: I use a TableHiloGenerator to generate uid for an object (e.g Event). The max_lo value is set to a small value (e.g 1024). The max connection number of ...

9. c3p0 conenction pool, jdbc commit...    forum.hibernate.org

So, I'm only guessing here. This might not be right at all. But do you perform other hibernate operations on the Session from which you grab your Connection before close()ing it? Here's my guess: You create a Session, and get underneath of it via direct JDBC to run your stored procedure. But you don't do anything that hibernate understands to require ...