Interface EnhancedUserType

  • All Superinterfaces:
    UserType
    All Known Implementing Classes:
    EnumType

    public interface EnhancedUserType
    extends UserType
    A custom type that may function as an identifier or discriminator type
    • Method Detail

      • objectToSQLString

        java.lang.String objectToSQLString​(java.lang.Object value)
        Return an SQL literal representation of the value
      • toXMLString

        @Deprecated
        java.lang.String toXMLString​(java.lang.Object value)
        Deprecated.
        To be removed in 5. Implement StringRepresentableType.toString(Object) instead. See HHH-7776 for details
        Return a string representation of this value, as it should appear in an XML document
      • fromXMLString

        @Deprecated
        java.lang.Object fromXMLString​(java.lang.String xmlValue)
        Deprecated.
        To be removed in 5. Implement StringRepresentableType.fromStringValue(String) instead. See HHH-7776 for details
        Parse a string representation of this value, as it appears in an XML document