java.lang.Object
com.atlassian.confluence.user.persistence.dao.hibernate.UserKeyGenerator5
All Implemented Interfaces:
org.hibernate.boot.model.relational.ExportableProducer, org.hibernate.id.Configurable, org.hibernate.id.IdentifierGenerator

public class UserKeyGenerator5 extends Object implements org.hibernate.id.IdentifierGenerator
A Hibernate 5 IdentifierGenerator which generates UserKey objects.
Since:
7.17
  • Field Summary

    Fields inherited from interface org.hibernate.id.IdentifierGenerator

    ENTITY_NAME, GENERATOR_NAME, JPA_ENTITY_NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.atlassian.sal.api.user.UserKey
    generate(org.hibernate.engine.spi.SessionImplementor cache, Object obj)
     
    generate(org.hibernate.engine.spi.SharedSessionContractImplementor session, Object object)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.hibernate.id.IdentifierGenerator

    configure, initialize, registerExportables, supportsJdbcBatchInserts
  • Constructor Details

    • UserKeyGenerator5

      public UserKeyGenerator5()
  • Method Details

    • generate

      public com.atlassian.sal.api.user.UserKey generate(org.hibernate.engine.spi.SessionImplementor cache, Object obj)
    • generate

      public Serializable generate(org.hibernate.engine.spi.SharedSessionContractImplementor session, Object object)
      Specified by:
      generate in interface org.hibernate.id.IdentifierGenerator