Example usage for org.hibernate.usertype ParameterizedType interface-usage

List of usage examples for org.hibernate.usertype ParameterizedType interface-usage

Introduction

In this page you can find the example usage for org.hibernate.usertype ParameterizedType interface-usage.

Usage

From source file alma.hibernate.util.StringEnumUserType.java

/**
 * Custom mapping type for string-backed enumerations.
 *
 * Taken from "Java Persistence with Hibernate", Christian Bauer and
 * Gavin King, Manning, ISBN 1-932394-88-5.
 *

From source file br.com.tcc.common.support.GenericEnumUserType.java

/**
 * Referencia:
 * http://appfuse.org/display/APF/Java+5+Enums+Persistence+with+Hibernate Vide
 * Ticket #90.
 */
public class GenericEnumUserType implements UserType, ParameterizedType {

From source file ccc.plugins.persistence.hibernate.EnumUserType.java

/**
 * A hibernate user type that can persist a Java 5 enum.
 *
 * @param <T> The type of the enum to persist.
 *
 * @author Civic Computing Ltd.

From source file ch.algotrader.hibernate.HibernateEnumType.java

/**
 * A Hibernate UserType for Java5 enumerations. Taken from
 * <a href="http://www.hibernate.org/272.html">Java 5 EnumUserType</a>.
 */
public class HibernateEnumType implements EnhancedUserType, ParameterizedType {

From source file cn.guoyukun.spring.jpa.repository.hibernate.type.CollectionToStringUserType.java

/**
 * List? List???? ??{@link org.apache.commons.beanutils.ConvertUtilsBean}
 * <p>User: 
 * <p>Date: 13-4-16 ?8:32
 * <p>Version: 1.0
 */

From source file cn.guoyukun.spring.jpa.repository.hibernate.type.HashMapToStringUserType.java

/**
 * List? List???? ??{@link org.apache.commons.beanutils.ConvertUtilsBean}
 * <p>User: 
 * <p>Date: 13-4-16 ?8:32
 * <p>Version: 1.0
 */

From source file cn.guoyukun.spring.jpa.repository.hibernate.type.LinkedHashMapToStringUserType.java

/**
 * List? List???? ??{@link org.apache.commons.beanutils.ConvertUtilsBean}
 * <p>User: Wang Zikai
 * <p>Date: 14-9-27 17:11
 * <p>Version: 1.0
 */

From source file com.abiquo.abiserver.business.hibernate.pojohb.userType.GenericEnumUserType.java

public class GenericEnumUserType implements UserType, ParameterizedType {
    private static final String DEFAULT_IDENTIFIER_METHOD_NAME = "name";

    private static final String DEFAULT_VALUE_OF_METHOD_NAME = "valueOf";

    private Class<? extends Enum> enumClass;

From source file com.autentia.intra.util.GenericEnumUserType.java

public class GenericEnumUserType implements UserType, ParameterizedType {
    private static final String DEFAULT_IDENTIFIER_METHOD_NAME = "name";
    private static final String DEFAULT_VALUE_OF_METHOD_NAME = "valueOf";

    private Class<? extends Enum> enumClass;
    private Class<?> identifierType;

From source file com.autentia.tnt.util.GenericEnumUserType.java

public class GenericEnumUserType implements UserType, ParameterizedType {
    private static final String DEFAULT_IDENTIFIER_METHOD_NAME = "name";
    private static final String DEFAULT_VALUE_OF_METHOD_NAME = "valueOf";

    private Class<? extends Enum> enumClass;
    private Class<?> identifierType;