Class StringMapUserType
java.lang.Object
google.registry.persistence.converter.StringMapUserType
Hibernate custom type for
Map
of String to String values.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionassemble
(Serializable serializable, Object o) disassemble
(Map<String, String> stringStringMap) boolean
int
int
boolean
nullSafeGet
(ResultSet resultSet, int i, org.hibernate.engine.spi.SharedSessionContractImplementor sharedSessionContractImplementor, Object o) void
nullSafeSet
(PreparedStatement preparedStatement, Map<String, String> map, int i, org.hibernate.engine.spi.SharedSessionContractImplementor sharedSessionContractImplementor) 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
-
StringMapUserType
public StringMapUserType()
-
-
Method Details
-
returnedClass
-
getSqlType
public int getSqlType()- Specified by:
getSqlType
in interfaceorg.hibernate.usertype.UserType<M>
-
equals
- Specified by:
equals
in interfaceorg.hibernate.usertype.UserType<M>
-
hashCode
- Specified by:
hashCode
in interfaceorg.hibernate.usertype.UserType<M>
-
deepCopy
- Specified by:
deepCopy
in interfaceorg.hibernate.usertype.UserType<M>
-
isMutable
public boolean isMutable()- Specified by:
isMutable
in interfaceorg.hibernate.usertype.UserType<M>
-
disassemble
- Specified by:
disassemble
in interfaceorg.hibernate.usertype.UserType<M>
-
assemble
- Specified by:
assemble
in interfaceorg.hibernate.usertype.UserType<M>
-