Class UserTypeConverter

  • All Implemented Interfaces:
    javax.persistence.AttributeConverter<UserType,​java.lang.String>

    public class UserTypeConverter
    extends java.lang.Object
    implements javax.persistence.AttributeConverter<UserType,​java.lang.String>
    • Constructor Detail

      • UserTypeConverter

        public UserTypeConverter()
    • Method Detail

      • convertToDatabaseColumn

        public java.lang.String convertToDatabaseColumn​(UserType attribute)
        Specified by:
        convertToDatabaseColumn in interface javax.persistence.AttributeConverter<UserType,​java.lang.String>
      • convertToEntityAttribute

        public UserType convertToEntityAttribute​(java.lang.String dbUserTypeName)
        Specified by:
        convertToEntityAttribute in interface javax.persistence.AttributeConverter<UserType,​java.lang.String>