Deep dive into JPA 2 nuances