Class NClobTypeHandler

  • All Implemented Interfaces:
    TypeHandler<java.lang.String>

    public class NClobTypeHandler
    extends BaseTypeHandler<java.lang.String>
    Author:
    Clinton Begin
    • Constructor Detail

      • NClobTypeHandler

        public NClobTypeHandler()
    • Method Detail

      • setNonNullParameter

        public void setNonNullParameter​(java.sql.PreparedStatement ps,
                                        int i,
                                        java.lang.String parameter,
                                        JdbcType jdbcType)
                                 throws java.sql.SQLException
        Specified by:
        setNonNullParameter in class BaseTypeHandler<java.lang.String>
        Throws:
        java.sql.SQLException
      • getNullableResult

        public java.lang.String getNullableResult​(java.sql.ResultSet rs,
                                                  java.lang.String columnName)
                                           throws java.sql.SQLException
        Specified by:
        getNullableResult in class BaseTypeHandler<java.lang.String>
        columnName - Colunm name, when configuration useColumnLabel is false
        Throws:
        java.sql.SQLException
      • getNullableResult

        public java.lang.String getNullableResult​(java.sql.ResultSet rs,
                                                  int columnIndex)
                                           throws java.sql.SQLException
        Specified by:
        getNullableResult in class BaseTypeHandler<java.lang.String>
        Throws:
        java.sql.SQLException
      • getNullableResult

        public java.lang.String getNullableResult​(java.sql.CallableStatement cs,
                                                  int columnIndex)
                                           throws java.sql.SQLException
        Specified by:
        getNullableResult in class BaseTypeHandler<java.lang.String>
        Throws:
        java.sql.SQLException