Hibernate Tutorial 07 – Primary Keys

This episode explains how to configure the primary key in our entity class using the @Id annotation. Each entity bean will have a primary key, which you annotate on the class with the @Id annotation. The primary key can be a single field or a combination of multiple fields depending on your table structure.

Video producer: http://javabrains.koushik.org/