Example usage for org.hibernate.id.enhanced TableGenerator subclass-usage

List of usage examples for org.hibernate.id.enhanced TableGenerator subclass-usage

Introduction

In this page you can find the example usage for org.hibernate.id.enhanced TableGenerator subclass-usage.

Usage

From source file ome.util.TableIdGenerator.java

/**
 * OMERO-specific id generation strategy. Combines both {@link TableGenerator}
 * and {@link OptimizerFactory.PooledOptimizer} into a single class because of
 * weirdness in their implementation. Instead, uses our own ome_nextval(?,?)
 * method to keep the Hibernate sequence values ({@link #hiValue}) in sync with
 * the database values.

From source file org.broadleafcommerce.common.persistence.IdOverrideTableGenerator.java

/**
 * Created by IntelliJ IDEA.
 * User: jfischer
 * Date: 8/4/11
 * Time: 2:09 PM
 * To change this template use File | Settings | File Templates.

From source file org.jmangos.commons.model.WowExtendIdGenerator.java

public class WowExtendIdGenerator extends TableGenerator {

    private static HashMap<Class<?>, Integer> hiClass;
    {
        if (hiClass == null) {
            hiClass = new HashMap<Class<?>, Integer>();

From source file org.lightmare.jpa.hibernate.id.enhanced.TableGeneratorExt.java

/**
 * To generate primary keys from table and bypasses existing keys
 * 
 * @author Levan Tsinadze
 * @see TableGenerator
 */