This article follow on from JPA/Hibernate Global Conversation and JPA/Hibernate Tempoorary Conversations. We discuss here about the commons issues encountered when using the conversational states design.
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
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…