Hibernate JPA project to create entities from tables

 

Hibernate JPA 

Step 1: Install Hibernate tools in your Eclipse JEE IDE

Step 2: Create a JPA Project. JPA Facet should have library configuration disabled and a database connection set as we will add hibernate libraries in the classpath.

Image

Step 3: Add the hibernate JPA libraries in build path

Image

 

Step 3: Add a connection to the database with tables available

Step 4: In JPA perspective right click the project -> JPA Tools -> Generate entities from table