connection « Transaction « Spring Q&A





1. Hibernate creates too many connections using @Transactional, how to prevent this?    stackoverflow.com

I'm fairly new to Hibernate and PostgreSQL, but so far it's going well, although I'm running into a problem now that I can't solve. I'm getting an error while filling the ...

2. hibernate not calling setReadOnly(true) on connection    stackoverflow.com

I'm trying to set up my spring / hibernate project to work with master/slave database setup. Transactions seem to work in spring (for example when I try to hibernateTemplate.merge() within ...

3. One connection in spring transaction?    stackoverflow.com

I have few questions related to connections and spring transactions.

  1. Does spring use the same connection instance when multiple methods performing DML & DDL operations are executed in a transaction (propagation level ...

4. JTA aware connection pools    forum.springsource.org

Looking for more info about JTA aware JDBC connection pools. So far I've looked at DBCP, c3p0, XAPool, Proxool, and BoneCP. Only DBCP and XAPool seem to fit the requirement of ...

5. One connection in same transaction?    forum.springsource.org

One connection in same transaction? I am trying to understand and figure out if spring manages to return the same connection instance whenever any number of database operations are performed in ...

6. Transactional hibernate reader/writer with hibernate.connection.release_mode on_close    forum.springsource.org

Transactional hibernate reader/writer with hibernate.connection.release_mode on_close Hi, I'm just getting to know spring-batch and I hope someone can answer my question about why I need to set hibernate.connection.release_mode to value 'on_close'. ...

7. Spring 3.0.5 Transaction management with Hibernate 3.4 and dbcp 1.4 connection leaks    forum.springsource.org

Spring 3.0.5 Transaction management with Hibernate 3.4 and dbcp 1.4 connection leaks I am using Spring 3.0.5 Transaction management with Hibernate 3.4 and dbcp 1.4 and experiencing connection leaks. Do these ...

8. Transaction suspend/resume: connection closed    forum.springsource.org

Transaction suspend/resume: connection closed I'm attempting to suspend an existing transaction to start a new transaction. Everything appears to work correctly until my suspended transaction resumes and I attempt to create ...

9. JTA + Spring + Hibernate = "Closing a connection for you" INFO    forum.springsource.org

JTA + Spring + Hibernate = "Closing a connection for you" INFO hi there, i have a problem with the "Closing a connection for you." INFO message in my JBOSS logfiles ...





10. Connections Closed on Transaction resume    forum.springsource.org

Unable to open/retrieveconnections on Transaction resume Hi, I have a Web Application on Weblogic 8.1. I use Spring and Weblogic JTA for Distributed Transaction Management. I use WebLogicJtaTransactionManager. Oracle is the ...

11. How to use same connection to do few transaction?    forum.springsource.org

Hi all, May I know anybody can help me or give me some advice that how to code multi-transaction in a same connection? My problem is once submition, I must control ...

12. Why Mutiple connection within same transaction?    forum.springsource.org

Why Mutiple connection within same transaction? This is the new problem that i face during development. Previous problem for transaction rollback is solve and can find in http://forum.springframework.org/showthread.php?t=27864 Now i face ...

13. Transactions and connections    forum.springsource.org

Hi All I am using Spring Hibernate template and Hibernate transaction manager. I have noticed that after a transaction Spring close the connection. This is not happening when there is no ...

14. Multiple Connections - Same Transaction    forum.springsource.org

Multiple Connections - Same Transaction Following is the scenario POJO1 interceptor will be called whenever we attemtp to execute a procedure in another POJO2. POJO1 will actually call another procedure to ...

15. Desire 1 connection per transaction    forum.springsource.org

Desire 1 connection per transaction I am getting 2 and need some advice please. AOP pointcut is wired for ServiceDao method foo. PROPAGATION = REQUIRED or REQURES_NEW ServiceDao extends ...hibernate3.support.HibernateDaoSupport { ...

16. same connection per transaction ?    forum.springsource.org

same connection per transaction ? If I mark a method in my DAO as being part of a single transaction, Am I guaranteed to get a same instance of connection everytime ...





17. dynamic connection / transactionManager    forum.springsource.org

dynamic connection / transactionManager hi all... i'm trying to setup spring to handle dynamic connections and transactions. my datasource definition: Code: ...

18. Pessimistical Locking - Hold Connection    forum.springsource.org

Pessimistical Locking - Hold Connection Hi all, i'm using pessimistical locking therefore it's necessary to hold my connection for my whole update process. Here my scenario: * Screen with some datasets ...

19. JTA rollback locks connection    forum.springsource.org

JTA rollback locks connection Hi, I have a problem with JTA transactions when the manager decide to rollback a transaction because it reached the timeout. The transaction is marked as rollback-only, ...

20. Maintaining same connection in a transaction using various CallableStatementCallbacks    forum.springsource.org

Maintaining same connection in a transaction using various CallableStatementCallbacks Hi, my requirement is to execute a method, marked as @Transactional, using Spring's jdbc support for callable statements (Oracle pl/sql procedure calls). ...