Top "Spring-transactions" questions

Questions related to Spring's Transaction API (programmatic or declarative)

apache commons dbcp connection pool error: Timeout waiting for idle object in a Spring + Hibernate app using Spring Transactions

I have read through various Stackover flow Questions and contents on the web on similar problem. However, I couldnt find …

java mysql hibernate spring-transactions apache-commons-dbcp
hibernate session.flush with spring @transactional

I am using Spring and Hibernate in my application and using Spring Transaction. So I have a service layer with …

java spring hibernate spring-transactions
Spring and Hibernate suddenly set the transaction to readonly

We have an application running on JBoss 4.2.3, using Spring 2.5.2 and Hibernate 3.2.6.ga. This is running on Linux JEE01 2.6.16.60-0.54.5-smp, …

java hibernate spring jboss spring-transactions
Spring JPA repository transactionality

1 quick question on Spring JPA repositories transactionality. I have a service that is not marked as transactional and calls Spring …

java jpa spring-data spring-transactions
Nested @Transactional methods with @Async

I'm using Spring with JPA. I have @EnableAsync and @EnableTransactionManagement turned on. In my user registration service method, I have …

java spring jpa spring-transactions
How to configure TransactionManager programmatically

I'm having an application here based on Spring MVC. My workmate (btw he's not here) configured it programmatically and everything …

java hibernate spring-mvc spring-transactions
Spring application has Cglib2AopProxy warnings

Upon starting my application, I get numerous warnings along the lines of o.s.aop.framework.Cglib2AopProxy 'Unable to …

spring spring-aop spring-transactions
What is the scope of @EnableTransactionManagement?

I'm trying to understand where is the right place to put @EnableTransactionManagement annotation in case of multiple JavaConfig contexts? Consider …

java spring jpa spring-transactions
Attempt to update step execution id=1 with wrong version (2), where current version is 1

Im using SpringBatch 2.1.7 release core and Infrastructure jars to read a CSV file and save it to DB. Integrated my …

spring-batch spring-transactions
How do I get the connection inside of a Spring transaction?

Imagine this code: foo() { Connection conn = ...; } foo() has been called from a method that has the annotation @Transactional. How do …

java spring jdbc connection spring-transactions