List of usage examples for org.hibernate.type PrimitiveType interface-usage
From source file com.github.gekoh.yagen.hibernate.OracleNumericBooleanType.java
/** * @author Georg Kohlweiss */ public class OracleNumericBooleanType extends AbstractSingleColumnStandardBasicType<Boolean> implements PrimitiveType<Boolean>, DiscriminatorType<Boolean> { //private static final org.slf4j.Logger LOG = org.slf4j.LoggerFactory.getLogger(OracleNumericBooleanType.class);
From source file dk.teachus.backend.dao.hibernate.BooleanType.java
/** * A type that maps between {@link java.sql.Types#TINYINT} and {@link Boolean} */ public class BooleanType extends AbstractSingleColumnStandardBasicType<Boolean> implements PrimitiveType<Boolean>, DiscriminatorType<Boolean> { private static final long serialVersionUID = 1L;
From source file org.jboss.as.test.compat.jpa.hibernate.transformer.IntegerType.java
/**
* A type that maps between {@link java.sql.Types#INTEGER INTEGER} and @link Integer}
*
* @author Gavin King
* @author Steve Ebersole
*/
From source file org.openbravo.base.session.OBYesNoType.java
/**
* Implements the same logic as the hibernate yesno type, handles null values as false. As certain
* methods can not be extended the solution is to catch the isDirty check by reimplementing the
* areEqual method.
*
* @author mtaal