org.keycloak.models.jpa.utils

## Class JpaIdGenerator

- java.lang.Object
- - org.keycloak.models.jpa.utils.JpaIdGenerator

- All Implemented Interfaces:
    org.hibernate.id.IdentifierGenerator

      public class JpaIdGenerator
      extends Object
      implements org.hibernate.id.IdentifierGenerator

  Author:
    Marek Posolda

- - ### Field Summary

    - ### Fields inherited from interface org.hibernate.id.IdentifierGenerator

      `ENTITY_NAME`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `JpaIdGenerator()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Serializable` | `generate(org.hibernate.engine.spi.SessionImplementor session, Object object)`

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### JpaIdGenerator

          public JpaIdGenerator()

  - ### Method Detail

    - #### generate

          public Serializable generate(org.hibernate.engine.spi.SessionImplementor session,
                              Object object)
                                throws org.hibernate.HibernateException

      Specified by:
        `generate` in interface `org.hibernate.id.IdentifierGenerator`
      Throws:
        `org.hibernate.HibernateException`

Copyright © 2014. All Rights Reserved.