Class ConfluenceHexUserKeyGenerator

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

public class ConfluenceHexUserKeyGenerator extends org.hibernate.id.AbstractUUIDGenerator
Generates a length 32 string which is NOT compliant with the IETF RFC 4122 UUID standard. This string will consist of only hex digits.
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
    generate(org.hibernate.engine.spi.SharedSessionContractImplementor session, Object obj)
     

    Methods inherited from class org.hibernate.id.AbstractUUIDGenerator

    getCount, getHiTime, getIP, getJVM, getLoTime

    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

    • ConfluenceHexUserKeyGenerator

      public ConfluenceHexUserKeyGenerator()
  • Method Details

    • generate

      public Serializable generate(org.hibernate.engine.spi.SharedSessionContractImplementor session, Object obj)