org.apache.ibatis.type
Class NStringTypeHandler

java.lang.Object
  extended by org.apache.ibatis.type.TypeReference<T>
      extended by org.apache.ibatis.type.BaseTypeHandler<String>
          extended by org.apache.ibatis.type.NStringTypeHandler
All Implemented Interfaces:
TypeHandler<String>

public class NStringTypeHandler
extends BaseTypeHandler<String>


Field Summary
 
Fields inherited from class org.apache.ibatis.type.BaseTypeHandler
configuration
 
Constructor Summary
NStringTypeHandler()
           
 
Method Summary
 String getNullableResult(CallableStatement cs, int columnIndex)
           
 String getNullableResult(ResultSet rs, int columnIndex)
           
 String getNullableResult(ResultSet rs, String columnName)
           
 void setNonNullParameter(PreparedStatement ps, int i, String parameter, JdbcType jdbcType)
           
 
Methods inherited from class org.apache.ibatis.type.BaseTypeHandler
getResult, getResult, getResult, setConfiguration, setParameter
 
Methods inherited from class org.apache.ibatis.type.TypeReference
getRawType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NStringTypeHandler

public NStringTypeHandler()
Method Detail

setNonNullParameter

public void setNonNullParameter(PreparedStatement ps,
                                int i,
                                String parameter,
                                JdbcType jdbcType)
                         throws SQLException
Specified by:
setNonNullParameter in class BaseTypeHandler<String>
Throws:
SQLException

getNullableResult

public String getNullableResult(ResultSet rs,
                                String columnName)
                         throws SQLException
Specified by:
getNullableResult in class BaseTypeHandler<String>
Throws:
SQLException

getNullableResult

public String getNullableResult(ResultSet rs,
                                int columnIndex)
                         throws SQLException
Specified by:
getNullableResult in class BaseTypeHandler<String>
Throws:
SQLException

getNullableResult

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


Copyright © 2010-2012 MyBatis.org. All Rights Reserved.