| org.springframework.orm.ibatis.support.AbstractLobTypeHandler org.springframework.orm.ibatis.support.ClobStringTypeHandler
ClobStringTypeHandler | public class ClobStringTypeHandler extends AbstractLobTypeHandler (Code) | | iBATIS TypeHandler implementation for Strings that get mapped to CLOBs.
Retrieves the LobHandler to use from SqlMapClientFactoryBean at config time.
Particularly useful for storing Strings with more than 4000 characters in an
Oracle database (only possible via CLOBs), in combination with OracleLobHandler.
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 |
ClobStringTypeHandler | protected ClobStringTypeHandler(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)
|
|
|