Package org.apache.ibatis.type
Class StringTypeHandler
- All Implemented Interfaces:
- TypeHandler<String>
- Author:
- Clinton Begin
- 
Field SummaryFields inherited from class org.apache.ibatis.type.BaseTypeHandlerconfiguration
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetNullableResult(CallableStatement cs, int columnIndex) getNullableResult(ResultSet rs, int columnIndex) getNullableResult(ResultSet rs, String columnName) Gets the nullable result.voidsetNonNullParameter(PreparedStatement ps, int i, String parameter, JdbcType jdbcType) Methods inherited from class org.apache.ibatis.type.BaseTypeHandlergetResult, getResult, getResult, setConfiguration, setParameterMethods inherited from class org.apache.ibatis.type.TypeReferencegetRawType, toString
- 
Constructor Details- 
StringTypeHandlerpublic StringTypeHandler()
 
- 
- 
Method Details- 
setNonNullParameterpublic void setNonNullParameter(PreparedStatement ps, int i, String parameter, JdbcType jdbcType) throws SQLException - Specified by:
- setNonNullParameterin class- BaseTypeHandler<String>
- Throws:
- SQLException
 
- 
getNullableResultDescription copied from class:BaseTypeHandlerGets the nullable result.- Specified by:
- getNullableResultin class- BaseTypeHandler<String>
- Parameters:
- rs- the rs
- columnName- Column name, when configuration- useColumnLabelis- false
- Returns:
- the nullable result
- Throws:
- SQLException- the SQL exception
 
- 
getNullableResult- Specified by:
- getNullableResultin class- BaseTypeHandler<String>
- Throws:
- SQLException
 
- 
getNullableResult- Specified by:
- getNullableResultin class- BaseTypeHandler<String>
- Throws:
- SQLException
 
 
-