Generate Java entity classes for tables and views
To store point objects in the database by using JPA, you must define an entity class. A JPA entity class is a Java class that is annotated as having the ability to represent objects in the database (a POJO (Plain Old Java Object) class).
You can select the necessary tables and views and generate corresponding JAVA files.
Right-click a database object for which you want to generate a Java entity class and navigate to Scripted Extensions | Generate POJOs.groovy.
In the file browser, specify the directory where you want to store JAVA class files