jpatemplate « Transaction « Spring Q&A





1. when using @transactional do i need to use jpatemplate/hibernatetemplate?    stackoverflow.com

when using @transactional do i need to use jpatemplate/hibernatetemplate ?

2. JPA pessimistic locking and JpaTemplate in Spring    stackoverflow.com

Is it possible to use PESIMISTIC lock option using Spring JpaTemplate methods? I know that PESIMISTIC lock can be performed using EntityManager's methods e.g.

Account acc = em.find(Account.class, 123); ...

3. Use JpaTemplate in java with transactions handled?    stackoverflow.com

I have started looking at the possibility of using JpaTemplate to remove some boiler plate code in some of my applications. I have something like this right now:

public class SomeDaoClass {

 ...

4. Is it possible to (temporarily) avoid using transactions with JpaTemplate    forum.springsource.org

Is it possible to (temporarily) avoid using transactions with JpaTemplate A slightly strange one this... I'm writing a training course, and I want to describe the use of the JdbcTemplate, HibernateTemplate ...

5. transaction propogation in junit test - jpatemplate.remove() problem    forum.springsource.org

transaction propogation in junit test - jpatemplate.remove() problem Hi, I am having trouble with testing a 'delete' method using junit. The service layer methods are annotated with @transactional, and so is ...