List of usage examples for org.hibernate.type CompositeType interface-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.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 };