Advance Hibernate Archive

Setting Auditing Columns using JPA Listeners

This tutorial explains the using JPA Listeners such as @prePersist, @preUpdate, @preRemove for setting Auditing Columns of a Table.

Optimistic Locking Versioning in JPA (Annotations)

This tutorial explains Optimistic Locking, simulates the problem and then solves the problem using Optimistic Locking Versioning in Hibernate using JPA Annotations.

Optimistic Locking Versioning in Hibernate

This tutorial explains Optimistic Locking, simulates the problem and then solves the problem using Optimistic Locking Versioning in Hibernate.

Hibernate Inheritance Table per Class Hierarchy

This tutorial explains Hibernate Inheritance Table per Class Hierarchy and an implementation of the same.

Hibernate Inheritance Table per Class Hierarchy using JPA Annotations

An simple tutorial on Hibernate Inheritance Table per Class Hierarchy using JPA Annotations.

Hibernate Inheritance Table per SubClass

This tutorial explains Hibernate Inheritance Table per SubClass and an implementation of the same.

Hibernate Inheritance Table per SubClass using JPA Annotations

An simple tutorial on Hibernate Inheritance Table per SubClass using JPA Annotations.

Generate JPA Annotations/Hibernate Mappings from Database Schema

This tutorial explains how to Reverse Engineer or Generate JPA Annotations/Hibernate Mappings from an existing Database Schema.

Hibernate Inheritance Table per Concrete Class

This tutorial explains Hibernate Inheritance Table per Concrete Class and a sample implementation of the same.

Hibernate Inheritance Table per Concrete Class using JPA Annotations

This tutorial explains Hibernate Inheritance Table per Concrete Class using JPA Annotations and a sample implementation of the same.