Note- Generator class-

​Generator class is a sub element of id column.

Generator class is used to generate unique identifier

Hibernate supports 12 generators class currently

But most important are-

(1)assigned

(2)increment

Advertisements