Skip to content

Commit

Permalink
Reverting my changes to fix failing unit tests - - TRUNK-3928
Browse files Browse the repository at this point in the history
  • Loading branch information
dkayiwa committed Mar 19, 2013
1 parent 4bb3df3 commit c758e5e
Showing 1 changed file with 0 additions and 5 deletions.
Expand Up @@ -610,14 +610,9 @@ public void executeDataSet(IDataSet dataset) throws Exception {

IDatabaseConnection dbUnitConn = setupDatabaseConnection(connection);

turnOffDBConstraints(connection);

//Do the actual update/insert:
//insert new rows, update existing rows, and leave others alone
DatabaseOperation.REFRESH.execute(dbUnitConn, dataset);

//i wonder why turning this back on causes trouble TRUNK-3928
//turnOnDBConstraints(connection);
}

private IDatabaseConnection setupDatabaseConnection(Connection connection) throws DatabaseUnitException {
Expand Down

0 comments on commit c758e5e

Please sign in to comment.