Automated generation of JPA entities