@Test public void shouldSetConnectionToManualCommitModeAtStart() throws Exception { applier.begin(); verify(queryExecuter).setAutoCommit(false); }
public void begin() { try { queryExecuter.setAutoCommit(false); } catch (SQLException e) { throw new RuntimeException(e); } }
DirectToDbApplier implements ChangeScriptApplier { public void begin() { try { queryExecuter.setAutoCommit(false); } catch (SQLException e) { throw new RuntimeException(e); } } }
DirectToDbApplier implements ChangeScriptApplier { public void begin() { try { queryExecuter.setAutoCommit(false); } catch (SQLException e) { throw new RuntimeException(e); } } DirectToDbApplier(QueryExecuter queryExecuter, DatabaseSchemaVersionManager schemaVersionManager, QueryStatementSplitter splitter); }
DirectToDbApplier implements ChangeScriptApplier { public void begin() { try { queryExecuter.setAutoCommit(false); } catch (SQLException e) { throw new RuntimeException(e); } } DirectToDbApplier(QueryExecuter queryExecuter, DatabaseSchemaVersionManager schemaVersionManager, QueryStatementSplitter splitter); void apply(List<ChangeScript> changeScript); void begin(); }
DirectToDbApplier implements ChangeScriptApplier { public void begin() { try { queryExecuter.setAutoCommit(false); } catch (SQLException e) { throw new RuntimeException(e); } } DirectToDbApplier(QueryExecuter queryExecuter, DatabaseSchemaVersionManager schemaVersionManager, QueryStatementSplitter splitter); void apply(List<ChangeScript> changeScript); void begin();  }