org.apache.ibatis.type
Class NStringTypeHandler

java.lang.Object
  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>


Constructor Summary
NStringTypeHandler()
           
 
Method Summary
 String getNullableResult(CallableStatement cs, 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, setParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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(CallableStatement cs,
                                int columnIndex)
                         throws SQLException
Specified by:
getNullableResult in class BaseTypeHandler<String>
Throws:
SQLException


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