List of usage examples for org.hibernate.id IdentityGenerator subclass-usage
From source file com.romeikat.datamessie.core.domain.util.AssignedIdentityGenerator.java
public class AssignedIdentityGenerator extends IdentityGenerator { @Override public Serializable generate(final SharedSessionContractImplementor session, final Object obj) { if (obj instanceof Identifiable) { final Identifiable identifiable = (Identifiable) obj;
From source file com.tsoft.app.domain.identifier.AssignedIdentityGenerator.java
/** * * @author tchipnangngansopa */ public class AssignedIdentityGenerator extends IdentityGenerator {
From source file de.fhdo.terminologie.db.UseIdOrGenerate.java
public class UseIdOrGenerate extends IdentityGenerator { @Override public Serializable generate(SessionImplementor session, Object obj) throws HibernateException { if (obj == null) throw new HibernateException(new NullPointerException());
From source file it.geosolutions.opensdi.destination.hibernate.BigIntGenerator.java
/** * Customized generator for testing proposal (just insert on test) * * @author adiaz */ public class BigIntGenerator extends IdentityGenerator {
From source file org.lamop.riche.model.UseIdOrGenerateID.java
/** * Permet de gnerer la cl primaire des Source. Ne pas autognrer la cl si elle est dj existante * @author clril */ public class UseIdOrGenerateID extends IdentityGenerator {
From source file org.openmrs.api.db.hibernate.NativeIfNotAssignedIdentityGenerator.java
/**
* <b>native-if-not-assigned</b><br>
* <br>
* By setting the Hibernate configuration's primary key column to use a "native" implementation,
* Hibernate ALWAYS generates the entity's id when it is being saved. There is no way to "override"
* the generated id. <br>