Class HibernateIdGenerator
java.lang.Object
io.github.xezzon.zeroweb.common.jpa.HibernateIdGenerator
- All Implemented Interfaces:
Serializable,org.hibernate.boot.model.relational.ExportableProducer,org.hibernate.generator.BeforeExecutionGenerator,org.hibernate.generator.Generator,org.hibernate.id.Configurable,org.hibernate.id.IdentifierGenerator
@Component
public class HibernateIdGenerator
extends Object
implements org.hibernate.id.IdentifierGenerator
ID 生成器
生成规则取决于配置 ${zeroweb.id-generator}
- Author:
- xezzon
- 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
Methods inherited from class java.lang.Object
equals, 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
-
HibernateIdGenerator
public HibernateIdGenerator()
-
-
Method Details