primaryKeyColumns.toArray(new String[0]));
sh.setParameterValuesToStatement(pstmt);
debug("DB -> " + sh.getQueryString());
int result = pstmt.executeUpdate();
genKeys = pstmt.getGeneratedKeys();
RowId newId = getNewRowId(row, genKeys);
bufferedEvents.add(new RowIdChangeEvent(row.getId(), newId));
return result;
} finally {
if (genKeys != null) {
genKeys.close();