List of usage examples for org.hibernate.id Configurable interface-usage
From source file com.enonic.cms.store.hibernate.id.IntegerBasedCustomIdentifierGenerator.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 IntegerBasedCustomIdentifierGenerator extends TransactionHelper implements PersistentIdentifierGenerator, Configurable {
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.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
*/
From source file com.googlecode.sarasvati.hib.SarasvatiIdentifierGenerator.java
public class SarasvatiIdentifierGenerator implements IdentifierGenerator, Configurable { private IdentifierGenerator generator = null; @Override public Serializable generate(final SessionImplementor session, final Object object) throws HibernateException { return generator.generate(session, object);
From source file com.literatejava.hibernate.allocator.LinearBlockAllocator.java
/**
* Allocate Long or Integer keys, using a portable table-based algorithm.
* <ul>
* <li>This strategy is highly efficient, database-portable, and simplifies/ supersedes HiLo-type strategies.
* <li>Keys are allocated in blocks from an "allocator" table, with a current block held in memory; used by the application as required.
* <li>Default block-size of 20 outperforms SEQUENCE allocation by a factor of 10 or more, using only standard SQL & fully portable
From source file com.npower.dm.hibernate.entity.CarrierIdentifierGenerator.java
/** * @author Zhao DongLu * @version $Revision: 1.1 $ $Date: 2008/05/08 06:54:26 $ */ public class CarrierIdentifierGenerator implements IdentifierGenerator, Configurable {
From source file com.npower.dm.hibernate.entity.ManufacturerIdentifierGenerator.java
/** * @author Zhao DongLu * @version $Revision: 1.1 $ $Date: 2008/05/08 06:54:26 $ */ public class ManufacturerIdentifierGenerator implements IdentifierGenerator, Configurable {
From source file com.npower.dm.hibernate.entity.ModelIdentifierGenerator.java
/** * @author Zhao DongLu * @version $Revision: 1.1 $ $Date: 2008/05/08 06:54:26 $ */ public class ModelIdentifierGenerator implements IdentifierGenerator, Configurable {
From source file com.npower.dm.hibernate.entity.ServiceProviderIdentifierGenerator.java
/** * @author Zhao DongLu * @version $Revision: 1.1 $ $Date: 2008/06/16 10:11:15 $ */ public class ServiceProviderIdentifierGenerator implements IdentifierGenerator, Configurable {