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.
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 thedbMaintainer.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 thedisableConstraints
flag is set totrue
. Thus, resulting in a SQL error that is two foreign keys away from the one I am trying to clear.