preStmt.setObject(2, parentDirectoryId, Types.INTEGER);
preStmt.setObject(3, _d.getId(), Types.INTEGER);
LOGGER.trace("SQL request ={}", preStmt.toString());
int r = preStmt.executeUpdate();
if (r == 0) {
throw new DirectoryOutOfSyncException();
}
conn.commit();
}
} catch (Exception exc) {
String errorMessage = "Cannot updateDirectory " + _d + " " + exc.getMessage();
LOGGER.error(errorMessage);
LOGGER.debug("Stack trace", exc);
throw new DirectoryOutOfSyncException();
}
}