JPA Entity Generator (jeg) is a tool that reads DB table definitions and generates JPA Entity class java files from them. To run jeg as the Maven Plugin, add the jpa-entity-generator-maven-plugin ...