List of usage examples for org.hibernate.usertype UserType interface-usage
From source file org.ow2.proactive.scheduler.core.db.schedulerType.BinaryLargeOBject.java
/**
* Hibernate natively maps blob columns to java.sql.Blob.<br />
* However, it's sometimes useful to read the whole blob into memory and deal with it as a byte array.<br />
* BinaryLargeOBject is made to fix this issue.
*
* @author The ProActive Team
From source file org.ow2.proactive.scheduler.core.db.types.BinaryLargeOBject.java
/**
* Hibernate natively maps blob columns to java.sql.Blob.<br />
* However, it's sometimes useful to read the whole blob into memory and deal with it as a byte array.<br />
* BinaryLargeOBject is made to fix this issue.
*
* @author The ProActive Team
From source file org.pentaho.platform.repository.hibernate.usertypes.BlobtoByteArrayUserType.java
public class BlobtoByteArrayUserType implements UserType { private static final Log log = LogFactory.getLog(BlobtoByteArrayUserType.class); private static final int[] SQLTYPE = { Types.BLOB }; /*
From source file org.pentaho.platform.repository.hibernate.usertypes.BlobUserType.java
public class BlobUserType implements UserType { private static final Log log = LogFactory.getLog(BlobUserType.class); private static final boolean debug = PentahoSystem.debug; private static final int[] SQLTYPE = { Types.BLOB };
From source file org.pentaho.platform.repository.hibernate.usertypes.EmptyStringUserType.java
public class EmptyStringUserType implements UserType { private static final Log log = LogFactory.getLog(EmptyStringUserType.class); private static final boolean debug = PentahoSystem.debug; private static final String PENTAHOEMPTY = Messages.getInstance()
From source file org.pentaho.platform.repository.hibernate.usertypes.LongStringUserType.java
public class LongStringUserType implements UserType { private static final Log log = LogFactory.getLog(LongStringUserType.class); private static final boolean debug = PentahoSystem.debug; private static final int[] SQLTYPE = { Types.CLOB }; // Persists as CLOBs
From source file org.phenotips.messaging.DocumentReferenceType.java
/**
* Custom Hibernate type used for storing document references in a database.
*
* @version $Id: 615afec73300488429bb4c2d7b2be69bbfb338df $
* @since 1.0M1
*/
From source file org.phenotips.messaging.PatientReferenceType.java
/**
* Custom Hibernate type used for storing patient references in a database.
*
* @version $Id: cd4c0b94f6aafb3a1794a2c449ba2eefea3c81d4 $
* @since 1.0M1
*/
From source file org.photovault.persistence.UUIDUserType.java
/** Hibernate type mapping for UUID. */ public class UUIDUserType implements UserType { /** Creates a new instance of UUIDUserType */
From source file org.postgis.hibernate.GeometryType.java
/** * @author nbarker $date 16/8/06 */ public class GeometryType implements UserType { private static final int[] SQL_TYPES = { Types.BLOB };