Class OAuth2PermissionUuidGeneratorType
java.lang.Object
cn.herodotus.engine.data.core.identifier.AbstractUuidGenerator
cn.herodotus.engine.oauth2.management.generator.OAuth2PermissionUuidGeneratorType
- 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.factory.spi.StandardGenerator,org.hibernate.id.IdentifierGenerator
public class OAuth2PermissionUuidGeneratorType
extends cn.herodotus.engine.data.core.identifier.AbstractUuidGenerator
Description: 使得保存实体类时可以在保留主键生成策略的情况下自定义表的主键
- Author:
- : gengwei.zheng
- See Also:
- Date:
- : 2022/3/31 21:11
-
Field Summary
Fields inherited from interface org.hibernate.id.IdentifierGenerator
CONTRIBUTOR_NAME, ENTITY_NAME, GENERATOR_NAME, JPA_ENTITY_NAME -
Constructor Summary
ConstructorsConstructorDescriptionOAuth2PermissionUuidGeneratorType(OAuth2PermissionUuidGenerator config, Member idMember, org.hibernate.id.factory.spi.CustomIdGeneratorCreationContext creationContext) -
Method Summary
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.generator.Generator
allowAssignedIdentifiers, generatedOnExecution, generatesOnInsert, generatesOnUpdate, generatesSometimesMethods inherited from interface org.hibernate.id.IdentifierGenerator
configure, generate, getEventTypes, initialize, registerExportables, supportsJdbcBatchInserts
-
Constructor Details
-
OAuth2PermissionUuidGeneratorType
public OAuth2PermissionUuidGeneratorType(OAuth2PermissionUuidGenerator config, Member idMember, org.hibernate.id.factory.spi.CustomIdGeneratorCreationContext creationContext)
-
-
Method Details