JPA Modeler will write the code for you and provide the visualization of entities relationship .
JPA Modeler provides powerful and flexible object relational mapping interface and minimize the complexity of mapping.
Reverse engineer the entities and generate ER diagram .
Generate ER Diagram from existing database table.
Generate Java persistent entities from ER Diagram.