Class UUIDGenerator

java.lang.Object
org.hibernate.id.UUIDGenerator
All Implemented Interfaces:
Configurable, IdentifierGenerator

public class UUIDGenerator extends Object implements IdentifierGenerator, Configurable
An IdentifierGenerator which generates UUID values using a pluggable generation strategy. The values this generator can return include UUID, String and byte[16]

Supports 2 config parameters:

Currently there are 2 standard implementations of UUIDGenerationStrategy: