Object-Relational Mappings: Generating JPA Entities