Spring @PersistenceContext/@PersistenceUnit explained
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.