JPA example for educational purpose