22/01/2012 Leave a comment
We discuss here about the commons issues encountered when using the conversational states design.
Just another random Java blog
14/01/2012 2 Comments
Today we discuss about temporary conversations in JPA, their usage, all usage warnings and a sample implementation using Spring AOP
This article follows upon a previous one about global long conversation : JPA/Hibernate Long session
26/11/2011 13 Comments
The previous 2 articles were dedicated to the analysis of Spring @Transactional and @PersistenceContext internals.
In this article we will discuss about the JPA extended persistence context (Hibernate long session) pattern. We’ll look at the pros and cosn and finally I will show a practical implementation using the TransactionSynchronizationManager class shown earlier in both articles
Read more of this post
21/11/2011 10 Comments
This is the 2nd article of a serie on Spring code analysis.
Today we are going to dig into the @PersistenceContext annotation, widely used by JPA/Hibernate developers to inject an Entity Manager into their DAO classes.