private void registerLobsForRow(Object[] data) {
for (int i = 0; i < data.length; i++) {
if (data[i] instanceof BlobDataID) {
BlobData blob = (BlobDataID) data[i];
long id = resultLobs.get(blob.getId());
data[i] = database.lobManager.getBlob(id);
} else if (data[i] instanceof ClobDataID) {
ClobData clob = (ClobDataID) data[i];
long id = resultLobs.get(clob.getId());