Skip to content

CLEAR_INSERT does not disable table constraints prior to executing the DeleteAllOperation #21

@jpopadak

Description

@jpopadak

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions