Additional JPA annotations

The JBStrap framework offers multiple Java Annotations. These can help with numerous tasks. Please view their own articles, to learn more about them.

Audit

Use the Audit annotations to show the changes to a record. Annotated entities list the date/time of creation/update and the user name of who created/updated a record.

Foreign Key

Foreign Key annotations are used to join records in the database without using a transaction.

History

History annotations allow you to log record changes in an entity. Record history is stored in a separate database table.

SCD

SCD annotations are used to implement Slowly Changing Dimensions solutions. Active states of records and their associated historical data are stored along with data records in the same table.

View Mapping

View Mapping annotations are used to map the fields of a database view to one or more tables. View Mapping annotations make it possible that you can write views.

Related pages