code: public static byte[] getBinaryStream(final ResultSet rs, final String name) throws SQLException {
  		final InputStream in = rs.getBinaryStream(name);
  		if (in == null) {
  			return null;
  		}
  		return JKIOUtil.readStream(in);
  	}
docs: //////////////////////////////////////////////////////////////////////////////////////