Code example for CallableStatement

Methods: getString

0
 
	@Override 
	public Object getResult(CallableStatement callablestatement, int i)
			throws SQLException { 
		log.debug("ClobTypeHandler");
		return callablestatement.getString(i);
	} 
 
	@Override 
	public void setParameter(PreparedStatement preparedstatement, int i,
			Object obj, JdbcType jdbctype) throws SQLException {
		log.debug("ClobTypeHandler");
		preparedstatement.setString(i, (String)obj);
	} 
	 
}