private void executeCommands(final List<PersistenceCommand> commands) { for (final PersistenceCommand command : commands) { command.execute(null); } getPersistenceManager().flush(); }
@Override public void execute(final List<PersistenceCommand> commands) throws ObjectPersistenceException { if (LOG.isInfoEnabled()) { LOG.info("execute commands"); } for (final PersistenceCommand command : commands) { command.execute(null); } LOG.info("end execution"); }