Example usage for org.hibernate.id IdentifierGenerator interface-usage

List of usage examples for org.hibernate.id IdentifierGenerator interface-usage

Introduction

In this page you can find the example usage for org.hibernate.id IdentifierGenerator interface-usage.

Usage

From source file com.daon.identityx.utils.IdGenerator.java

/***
 * Generates the unique ID for the rows within a database table
 * Uses a GUID rather than having to ask the DB to manage it
 * 
 * @author Daon
 *

From source file com.eclecticlogic.pedal.provider.hibernate.UUIDBasedIdGenerator.java

/**
 * @author kabram.
 *
 */
public class UUIDBasedIdGenerator implements IdentifierGenerator {

From source file com.enonic.cms.store.hibernate.id.GroupIdentifierGenerator.java

public class GroupIdentifierGenerator implements IdentifierGenerator

{
    public Serializable generate(SessionImplementor session, Object object) {
        return new GroupKey(DigestUtil.generateSHA(java.util.UUID.randomUUID().toString()));
    }

From source file com.enonic.cms.store.hibernate.id.StringBasedCustomIdentifierGenerator.java

/**
 * Class for generating keys for our "user typed" identifiers. Specify table and idClassName, where idClassName is the actual domain class
 * to instantiate passing an Integer to the constructor.
 */
public class StringBasedCustomIdentifierGenerator implements IdentifierGenerator, Configurable {

From source file com.enonic.cms.store.hibernate.id.UserIdentifierGenerator.java

public class UserIdentifierGenerator implements IdentifierGenerator

{
    public Serializable generate(SessionImplementor session, Object object) {
        return new UserKey(DigestUtil.generateSHA(java.util.UUID.randomUUID().toString()));
    }

From source file com.evolveum.midpoint.repo.sql.util.CertWorkItemIdGenerator.java

/**
 * @author lazyman
 * @author mederly
 */
public class CertWorkItemIdGenerator implements IdentifierGenerator {

From source file com.evolveum.midpoint.repo.sql.util.ContainerIdGenerator.java

/**
 * @author lazyman
 */
public class ContainerIdGenerator implements IdentifierGenerator {

    private static final Trace LOGGER = TraceManager.getTrace(ContainerIdGenerator.class);

From source file com.evolveum.midpoint.repo.sql.util.ContainerOidGenerator.java

/**
 * @author lazyman
 */
public class ContainerOidGenerator implements IdentifierGenerator {

    private static final Trace LOGGER = TraceManager.getTrace(ContainerOidGenerator.class);

From source file com.farmafene.commons.hibernate.generators.old.SubSequenceTableGenerator.java

/**
 * Generador de hibernate
 * 
 * @version 1.0.0
 * @since 1.0.0
 */

From source file com.farmafene.commons.hibernate.generators.SubSequenceTableGenerator.java

/**
 * Generador de hibernate
 * 
 * @version 1.0.0
 * @since 1.0.0
 */