Class PostgreSqlUuidGenerationStrategy

java.lang.Object
org.qubership.atp.dataset.db.jpa.PostgreSqlUuidGenerationStrategy
All Implemented Interfaces:
Serializable, org.hibernate.id.UUIDGenerationStrategy

public class PostgreSqlUuidGenerationStrategy extends Object implements org.hibernate.id.UUIDGenerationStrategy
See Also:
  • Constructor Details

    • PostgreSqlUuidGenerationStrategy

      public PostgreSqlUuidGenerationStrategy()
  • Method Details

    • getGeneratedVersion

      public int getGeneratedVersion()
      Specified by:
      getGeneratedVersion in interface org.hibernate.id.UUIDGenerationStrategy
    • generateUUID

      public UUID generateUUID(org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Specified by:
      generateUUID in interface org.hibernate.id.UUIDGenerationStrategy