| org.springframework.orm.ibatis.support.AbstractLobTypeHandler org.springframework.orm.ibatis.support.BlobByteArrayTypeHandler
BlobByteArrayTypeHandler | public class BlobByteArrayTypeHandler extends AbstractLobTypeHandler (Code) | | iBATIS TypeHandler implementation for byte arrays that get mapped to BLOBs.
Retrieves the LobHandler to use from SqlMapClientFactoryBean at config time.
Can also be defined in generic iBATIS mappings, as DefaultLobCreator will
work with most JDBC-compliant database drivers. In this case, the field type
does not have to be BLOB: For databases like MySQL and MS SQL Server, any
large enough binary type will work.
author: Juergen Hoeller since: 1.1.5 See Also: org.springframework.orm.ibatis.SqlMapClientFactoryBean.setLobHandler |
BlobByteArrayTypeHandler | protected BlobByteArrayTypeHandler(LobHandler lobHandler)(Code) | | Constructor used for testing: takes an explicit LobHandler.
|
Fields inherited from org.springframework.orm.ibatis.support.AbstractLobTypeHandler | final public static int LOB_CREATOR_SYNCHRONIZATION_ORDER(Code)(Java Doc)
|
Methods inherited from org.springframework.orm.ibatis.support.AbstractLobTypeHandler | final public Object getResult(ResultSet rs, String columnName) throws SQLException(Code)(Java Doc) final public Object getResult(ResultSet rs, int columnIndex) throws SQLException(Code)(Java Doc) public Object getResult(CallableStatement cs, int columnIndex) throws SQLException(Code)(Java Doc) abstract protected Object getResultInternal(ResultSet rs, int index, LobHandler lobHandler) throws SQLException, IOException(Code)(Java Doc) final public void setParameter(PreparedStatement ps, int i, Object parameter, String jdbcType) throws SQLException(Code)(Java Doc) abstract protected void setParameterInternal(PreparedStatement ps, int index, Object value, String jdbcType, LobCreator lobCreator) throws SQLException, IOException(Code)(Java Doc)
|
|
|