Questions related to Spring's Transaction API (programmatic or declarative)
I have a method that has the propagation = Propagation.REQUIRES_NEW transactional property: @Transactional(propagation = Propagation.REQUIRES_NEW) public void …
java spring hibernate transactions spring-transactionsI am trying to configure JSF+Spring+hibernate and I'm tying to run a test but when I use this "…
spring transactions spring-transactionsI'm using Spring / Spring-data-JPA and find myself needing to manually force a commit in a unit test. My use case …
java spring jpa spring-data spring-transactionsI've seen a method in a Service class that was marked as @Transactional, but it was also calling some other …
java spring spring-transactions transactionalI'm new to Spring and I'm wondering if its possible to use numerous transaction managers in the same application? I …
java spring jpa spring-transactions transactionmanagerI previously had a post on this issue that was resolved. However since rebuilding the project with auto wired beans …
spring spring-mvc spring-transactions transactionalIn my project I use Hibernate with programmatic transaction demarcation. Every time in my Service methods i write something similar …
java hibernate spring spring-transactionsCase1 @Transactional public class UserServiceImpl implements UserService { ................... public void method1(){ try{ method2(); }catch(Exception e){ } } public void method2(){ } } Case2 public …
java spring spring-mvc spring-transactionsI have next error: nested exception is org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.example.…
java spring hibernate jpa spring-transactionsWe configure our Spring transaction in Spring config as: <tx:jta-transaction-manager/> I gather this means that Spring will …
java spring jboss jta spring-transactions