dbmaintain icon indicating copy to clipboard operation
dbmaintain copied to clipboard

CLEAR_INSERT does not disable table constraints prior to executing the DeleteAllOperation

Open jpopadak opened this issue 9 years ago • 0 comments

I am using a test database that other tests might not have cleaned up, in doing so, I want to use the CLEAR_INSERT and also the dbMaintainer.disableConstraints.enabled=true property to disable constraints upon insert.

In doing this, when DbMaintain attempts to execute the DeleteAllOperation, it does not check to see if the disableConstraints flag is set to true. Thus, resulting in a SQL error that is two foreign keys away from the one I am trying to clear.

jpopadak avatar Nov 18 '16 18:11 jpopadak