Class CUIDType
java.lang.Object
dev.voidframework.persistence.hibernate.cuid.CUIDType
- All Implemented Interfaces:
org.hibernate.usertype.UserType<CUID>
Value type mapper for
CUID.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassemble(Serializable cached, Object owner) disassemble(CUID value) booleanintintbooleannullSafeGet(ResultSet rs, int position, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object owner) voidnullSafeSet(PreparedStatement st, CUID value, int index, org.hibernate.engine.spi.SharedSessionContractImplementor session) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.usertype.UserType
getDefaultSqlLength, getDefaultSqlPrecision, getDefaultSqlScale, getJdbcType, getValueConverter
-
Constructor Details
-
CUIDType
public CUIDType()
-
-
Method Details
-
getSqlType
public int getSqlType()- Specified by:
getSqlTypein interfaceorg.hibernate.usertype.UserType<CUID>
-
returnedClass
- Specified by:
returnedClassin interfaceorg.hibernate.usertype.UserType<CUID>
-
equals
- Specified by:
equalsin interfaceorg.hibernate.usertype.UserType<CUID>
-
hashCode
- Specified by:
hashCodein interfaceorg.hibernate.usertype.UserType<CUID>
-
deepCopy
- Specified by:
deepCopyin interfaceorg.hibernate.usertype.UserType<CUID>
-
isMutable
public boolean isMutable()- Specified by:
isMutablein interfaceorg.hibernate.usertype.UserType<CUID>
-
disassemble
- Specified by:
disassemblein interfaceorg.hibernate.usertype.UserType<CUID>
-
assemble
- Specified by:
assemblein interfaceorg.hibernate.usertype.UserType<CUID>
-
replace
- Specified by:
replacein interfaceorg.hibernate.usertype.UserType<CUID>
-