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

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

Introduction

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

Usage

From source file org.eclipse.emf.teneo.hibernate.mapping.AnyEObjectType.java

/**
 * Supports persisting the reference to any persistable EObect, it stores the
 * entity name, and the id in a string field
 * 
 * @author <a href="mailto:mkanaley@tibco.com">Mike Kanaley</a>
 */

From source file org.eclipse.emf.teneo.hibernate.mapping.econtainer.EContainerUserType.java

/**
 * Implements the EMF UserType for an Enum
 * 
 * @author <a href="mailto:mtaal@elver.org">Martin Taal</a>
 * @version $Revision: 1.13 $ $Date: 2010/11/12 09:33:33 $
 */

From source file org.riotfamily.common.hibernate.AnyIdAnyType.java

public class AnyIdAnyType extends AbstractType implements CompositeType, AssociationType {

    private static final int[] SQL_TYPES = new int[] { StandardBasicTypes.STRING.sqlType(),
            StandardBasicTypes.STRING.sqlType() };

    private static final Type[] TYPES = new Type[] { StandardBasicTypes.STRING, StandardBasicTypes.STRING };