Package org.apache.ibatis.type
Class ByteArrayTypeHandler
java.lang.Object
org.apache.ibatis.type.TypeReference<byte[]>
org.apache.ibatis.type.BaseTypeHandler<byte[]>
org.apache.ibatis.type.ByteArrayTypeHandler
- All Implemented Interfaces:
- TypeHandler<byte[]>
- Author:
- Clinton Begin
- 
Field SummaryFields inherited from class org.apache.ibatis.type.BaseTypeHandlerconfiguration
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbyte[]getNullableResult(CallableStatement cs, int columnIndex) byte[]getNullableResult(ResultSet rs, int columnIndex) byte[]getNullableResult(ResultSet rs, String columnName) Gets the nullable result.voidsetNonNullParameter(PreparedStatement ps, int i, byte[] 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- 
ByteArrayTypeHandlerpublic ByteArrayTypeHandler()
 
- 
- 
Method Details- 
setNonNullParameterpublic void setNonNullParameter(PreparedStatement ps, int i, byte[] parameter, JdbcType jdbcType) throws SQLException - Specified by:
- setNonNullParameterin class- BaseTypeHandler<byte[]>
- Throws:
- SQLException
 
- 
getNullableResultDescription copied from class:BaseTypeHandlerGets the nullable result.- Specified by:
- getNullableResultin class- BaseTypeHandler<byte[]>
- 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<byte[]>
- Throws:
- SQLException
 
- 
getNullableResult- Specified by:
- getNullableResultin class- BaseTypeHandler<byte[]>
- Throws:
- SQLException
 
 
-