JPA entity class

The entity class describes the physical data structure of the physical data source. The entity class is a POJO class and it needs to include every data column and key. It must contain the fields of the physical data structure and annotations for the data connection layer. These settings are required for the JPA to be able to perform queries.

Click here to read more about the JPA DAO solution in JBStrap.

The JBStrap framework uses EclipseLink 2.6.2 . For the JPA, you can include EclipseLink JPA layer annotations within an entity class.

Here's an example for a JPA entity (entity class):