Class UlidUserType
java.lang.Object
com.broadleafcommerce.data.tracking.jpa.hibernate.UlidUserType
- All Implemented Interfaces:
org.hibernate.usertype.EnhancedUserType<String>
,org.hibernate.usertype.UserType<String>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionassemble
(Serializable cached, Object owner) disassemble
(String value) boolean
fromStringValue
(CharSequence sequence) int
int
boolean
nullSafeGet
(ResultSet rs, int position, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object owner) void
nullSafeSet
(PreparedStatement st, String value, int index, org.hibernate.engine.spi.SharedSessionContractImplementor session) toSqlLiteral
(String value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.usertype.UserType
getDefaultSqlLength, getDefaultSqlPrecision, getDefaultSqlScale, getJdbcType, getValueConverter, replace
-
Constructor Details
-
UlidUserType
public UlidUserType()
-
-
Method Details
-
getSqlType
public int getSqlType()- Specified by:
getSqlType
in interfaceorg.hibernate.usertype.UserType<String>
-
returnedClass
- Specified by:
returnedClass
in interfaceorg.hibernate.usertype.UserType<String>
-
equals
- Specified by:
equals
in interfaceorg.hibernate.usertype.UserType<String>
-
hashCode
- Specified by:
hashCode
in interfaceorg.hibernate.usertype.UserType<String>
-
deepCopy
- Specified by:
deepCopy
in interfaceorg.hibernate.usertype.UserType<String>
-
isMutable
public boolean isMutable()- Specified by:
isMutable
in interfaceorg.hibernate.usertype.UserType<String>
-
disassemble
- Specified by:
disassemble
in interfaceorg.hibernate.usertype.UserType<String>
-
assemble
- Specified by:
assemble
in interfaceorg.hibernate.usertype.UserType<String>
-
toSqlLiteral
- Specified by:
toSqlLiteral
in interfaceorg.hibernate.usertype.EnhancedUserType<String>
-
toString
- Specified by:
toString
in interfaceorg.hibernate.usertype.EnhancedUserType<String>
- Throws:
org.hibernate.HibernateException
-
fromStringValue
- Specified by:
fromStringValue
in interfaceorg.hibernate.usertype.EnhancedUserType<String>
- Throws:
org.hibernate.HibernateException
-