Package org.hibernate.id
Class GUIDGenerator
java.lang.Object
org.hibernate.id.GUIDGenerator
- All Implemented Interfaces:
Serializable,ExportableProducer,BeforeExecutionGenerator,Generator,Configurable,StandardGenerator,IdentifierGenerator
@Deprecated(since="6.0")
public class GUIDGenerator
extends Object
implements IdentifierGenerator, StandardGenerator
Deprecated.
The legacy id generator named
guid.
Generates string values using the SQL Server NEWID() function.
- Author:
- Joseph Fifield
- See Also:
-
Field Summary
Fields inherited from interface org.hibernate.id.IdentifierGenerator
CONTRIBUTOR_NAME, ENTITY_NAME, GENERATOR_NAME, JPA_ENTITY_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerate(SharedSessionContractImplementor session, Object obj) Deprecated.Generate a new identifier.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.generator.BeforeExecutionGenerator
generatedOnExecutionMethods inherited from interface org.hibernate.id.Configurable
create, initializeMethods inherited from interface org.hibernate.generator.Generator
allowAssignedIdentifiers, generatedOnExecution, generatesOnInsert, generatesOnUpdate, generatesSometimesMethods inherited from interface org.hibernate.id.IdentifierGenerator
configure, generate, getEventTypes, registerExportables, supportsJdbcBatchInserts
-
Constructor Details
-
GUIDGenerator
public GUIDGenerator()Deprecated.
-
-
Method Details
UuidGenerator