Code example for CallableStatement

Methods: setNull

0
		if (value != null) {
			logger.debug("setString(" + pos + ", " + value + ")");
			stmt.setString(pos, value);
		} else { 
			logger.debug("setNull(" + pos + ", Types.VARCHAR)");
			stmt.setNull(pos, Types.VARCHAR);
		} 
	} 
	 
	protected void setByteList(CallableStatement stmt, int pos, byte[] value)
			throws SQLException { 
		if (value != null) {
			logger.debug("setBytes(" + pos + ", " + value + ")");
			stmt.setBytes(pos, value);
		} else { 
			logger.debug("setNull(" + pos + ", Types.INTEGER - Byte[] -)");
			stmt.setNull(pos, Types.INTEGER);
		} 
	} 
 
	protected void setArray(CallableStatement stmt, int pos, Array value)