if (currLogRecord == null) {
if (addIfNotExist) {
insert(conn, xid, logRecord, name, logger_);
return;
}
throw new KeyNotFoundException("TM log record not found for "+xid);
}
byte[] newLogRecord = (byte[])callback.update(currLogRecord);
pstmt = conn.prepareStatement(updateLogRecordSQL);
pstmt.setBytes(1, newLogRecord);