Code example for CallableStatement

Methods: getStringwasNull

0
			return s;
		} 
	} 
 
	public Object getResult(CallableStatement cs, int columnIndex) throws SQLException {
		Object s = cs.getString(columnIndex);
		if (cs.wasNull()) {
			return null; 
		} else { 
			return s;
		} 
	} 
 
	public Object valueOf(String s) {
		return s;
	} 
 
}