Category: SQL

JPA - Java Persistence API - tutorials

JPA EntityManager Example

This tutorial shows how to work with the Java Persistence API. The purpose of JPA is to create an abstraction layer between the database layer and an ORM framework. This enables us to loosely...
hibernate tutorials

Hibernate Dynamic-Update Attriburte Example

This tutorial shows how to use the dynamic-update attribute or @DynamicUpdate annotation used by Hibernate. This attribute/annotation tells Hibernate to only include the updated properties of the entity in the SQL UPDATE Statement. Dynamic-update=false...
hibernate tutorials

Hibernate dynamic-insert attriburte example

This tutorial shows how to use the dynamic-insert attribute or @DynamicInsert annotation used by Hibernate. This attribute/annotation tells Hibernate whether to include null properties in the SQL INSERT statement. Dynamic-insert=false By default, dynamic-insert is...