Class UUIDGenerator

java.lang.Object
org.hibernate.id.UUIDGenerator
All Implemented Interfaces:
Serializable, ExportableProducer, BeforeExecutionGenerator, Generator, Configurable, IdentifierGenerator

@Deprecated(since="6.0") public class UUIDGenerator extends Object implements IdentifierGenerator
Deprecated.
An IdentifierGenerator which generates UUID values using a pluggable generation strategy. The values this generator can return include UUID, String and byte[16].

Accepts two configuration parameters:

There are two standard implementations of UUIDGenerationStrategy:

See Also: