JPA best practices, tips and tricks.