List of usage examples for org.hibernate.usertype CompositeUserType interface-usage
From source file be.shad.tsqb.domain.usertype.AddressType.java
public class AddressType implements CompositeUserType { @Override public String[] getPropertyNames() { return new String[] { "street", "number" }; }
From source file com.anasoft.os.daofusion.bitemporal.PersistentInterval.java
/**
* Persist {@link org.joda.time.Interval} via Hibernate. Internally, this class
* collaborates with {@link org.joda.time.contrib.hibernate.PersistentDateTime}
* to convert the start and end components of an Interval to and from the
* database correspondents. This class allows clients to execute hibernate or
* JPA queries using the attribute names "start" and "end." For example,
From source file com.fiveamsolutions.nci.commons.audit.DummyCompositeUserType.java
/** * @author moweis * */ public class DummyCompositeUserType implements CompositeUserType {
From source file com.jhkt.playgroundArena.db.sql.mysql.beans.extentionPoints.DateFormatterType.java
/** * Just for documentation * * @author Ji Hoon Kim */ public class DateFormatterType implements CompositeUserType {
From source file com.liferay.portal.dao.orm.hibernate.BooleanType.java
/** * @author Brian Wing Shun Chan */ public class BooleanType implements CompositeUserType, Serializable { public static final Boolean DEFAULT_VALUE = Boolean.FALSE;
From source file com.liferay.portal.dao.orm.hibernate.DoubleType.java
/** * @author Brian Wing Shun Chan * * Modificated bloks will be marked by //Modification start/end markers */ public class DoubleType implements CompositeUserType, Serializable {
From source file com.liferay.portal.dao.orm.hibernate.FloatType.java
/** * @author Brian Wing Shun Chan * Modificated bloks will be marked by //Modification start/end markers */ public class FloatType implements CompositeUserType, Serializable {
From source file com.liferay.portal.dao.orm.hibernate.IntegerType.java
/** * @author Brian Wing Shun Chan * @author Bruno Farache */ public class IntegerType implements CompositeUserType, Serializable {
From source file com.liferay.portal.dao.orm.hibernate.LongType.java
/** * @author Brian Wing Shun Chan */ public class LongType implements CompositeUserType, Serializable { public static final Long DEFAULT_VALUE = Long.valueOf(0);
From source file com.liferay.portal.dao.orm.hibernate.ShortType.java
/** * @author Brian Wing Shun Chan */ public class ShortType implements CompositeUserType, Serializable { public static final Short DEFAULT_VALUE = Short.valueOf((short) 0);