Not possible in a consistent/easy way and also can't know in advance if constraints aren't already disabled (e.g disable=true on @DataSet) in order to keep them disabled after database is cleared.
Use @DataSet(cleanBefore=true, disableConstraints=true) to achieve this.
Not possible in a consistent/easy way and also can't know in advance if constraints aren't already disabled (e.g disable=true on @DataSet) in order to keep them disabled after database is cleared.
Use @DataSet(cleanBefore=true, disableConstraints=true) to achieve this.