Class UUIDGenerator

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

@Deprecated(since="6.0") public class UUIDGenerator extends Object implements IdentifierGenerator, StandardGenerator
Deprecated.
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:

See Also: