Interface EnumValueConverter<O extends java.lang.Enum,​R>

  • All Superinterfaces:
    BasicValueConverter<O,​R>

    public interface EnumValueConverter<O extends java.lang.Enum,​R>
    extends BasicValueConverter<O,​R>
    BasicValueConverter extension for enum-specific support
    • Method Detail

      • getJdbcTypeCode

        int getJdbcTypeCode()
      • readValue

        O readValue​(java.sql.ResultSet resultSet,
                    java.lang.String name)
             throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • writeValue

        void writeValue​(java.sql.PreparedStatement statement,
                        O value,
                        int position)
                 throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • toSqlLiteral

        java.lang.String toSqlLiteral​(java.lang.Object value)