Demonstration of common Hibernate / JPA problems