2441244224432444244524462447
if (buffer == null) { return new CleanableFilePersistedValueData(orderNumber, swapFile, swapCleaner); } return new ByteArrayPersistedValueData(orderNumber, buffer); }
2662266326642665266626672668
} public TempPropertyData(ResultSet item, boolean readValue) throws SQLException { orderNum = item.getInt(COLUMN_VORDERNUM); data = readValue ? new ByteArrayPersistedValueData(orderNum, item.getBytes(COLUMN_VDATA)) : null; }
949596979899100101102103104
while ((r = is.read(buff)) >= 0) { System.arraycopy(buff, 0, res, rpos, r); rpos += r; } return new ByteArrayPersistedValueData(orderNum, res); } finally { is.close(); }
2364236523662367236823692370
101102103104105106107108109110111
if (isByteArray) { byte[] data = new byte[in.readInt()]; in.readFully(data); return new ByteArrayPersistedValueData(orderNumber, data); } else { // read file id - used for reread data optimization String id = in.readString();
2339234023412342234323442345
2409241024112412241324142415
9596979899100101102103104105
{ System.arraycopy(buff, 0, res, rpos, r); rpos += r; } return new ByteArrayPersistedValueData(res, orderNum); } } finally { is.close();