Class UlidIdentifierGenerator
- java.lang.Object
-
- com.broadleafcommerce.data.tracking.jpa.hibernate.UlidIdentifierGenerator
-
- All Implemented Interfaces:
org.hibernate.id.IdentifierGenerator
public class UlidIdentifierGenerator extends Object implements org.hibernate.id.IdentifierGenerator
Hibernate specific id generator that leverages ULID as the source of id.- Author:
- Jeff Fischer
-
-
Constructor Summary
Constructors Constructor Description UlidIdentifierGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Serializable
generate(org.hibernate.engine.spi.SharedSessionContractImplementor sharedSessionContractImplementor, Object o)
-
-
-
Method Detail
-
generate
public Serializable generate(org.hibernate.engine.spi.SharedSessionContractImplementor sharedSessionContractImplementor, Object o) throws org.hibernate.HibernateException
- Specified by:
generate
in interfaceorg.hibernate.id.IdentifierGenerator
- Throws:
org.hibernate.HibernateException
-
-