Code example for CallableStatement

Methods: getInt

0
	} 
 
	@Override 
	public Dept getResult(CallableStatement cs, int columnIndex)
			throws SQLException { 
		return new Dept(cs.getInt(columnIndex));
	} 
 
	@Override 
	public void setParameter(PreparedStatement ps, int index, Dept parameter,
			JdbcType arg3) throws SQLException {
		ps.setObject(index, parameter);
	} 
 
}