Example usage for org.hibernate.type DiscriminatorType interface-usage

List of usage examples for org.hibernate.type DiscriminatorType interface-usage

Introduction

In this page you can find the example usage for org.hibernate.type DiscriminatorType interface-usage.

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.hibernate.test.BitSetType.java

/**
 * @author Vlad Mihalcea
 */

public class BitSetType extends AbstractSingleColumnStandardBasicType<BitSet> implements DiscriminatorType<BitSet> {

From source file org.jboss.as.test.compat.jpa.hibernate.transformer.BitSetType.java

/**
 * @author Vlad Mihalcea
 */

public class BitSetType extends AbstractSingleColumnStandardBasicType<BitSet> implements DiscriminatorType<BitSet> {

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.jbpm.db.hibernate.AccessType.java

public class AccessType extends ImmutableType implements DiscriminatorType {

    private static final long serialVersionUID = 1L;

    public Object get(ResultSet rs, String name) throws SQLException {
        return new Access(rs.getString(name));

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

From source file org.zanata.model.type.EntityStatusType.java

/**
 * @author Sean Flanigan <a
 *         href="mailto:sflaniga@redhat.com">sflaniga@redhat.com</a>
 *
 */
public class EntityStatusType extends AbstractSingleColumnStandardBasicType<EntityStatus>

From source file org.zanata.model.type.EntityTypeType.java

/**
 * @author Alex Eng <a href="mailto:aeng@redhat.com">aeng@redhat.com</a>
 */
public class EntityTypeType extends AbstractSingleColumnStandardBasicType<EntityType>
        implements DiscriminatorType<EntityType> {

From source file org.zanata.model.type.LocaleRoleType.java

/**
 * Persist LocaleRole enum values as a single character.
 */
public class LocaleRoleType extends AbstractSingleColumnStandardBasicType<LocaleRole>
        implements DiscriminatorType<LocaleRole> {