Package com.atlassian.confluence.internal.upgrade.constraint.dedup
package com.atlassian.confluence.internal.upgrade.constraint.dedup
-
ClassDescriptionRemove duplicated rows from a table before a unique constraint can be added.Decide how to remove duplicates so a unique constraint can be added Note: Tables with composite keys are not supported.Hold a duplicate record.Create a
DuplicateRowHolder
from aResultSet
Note: Tables with composite keys are not supported.Do nothing.Keep the record with biggest IdKeep only one record.Keep the record with smallest Id2 steps: 1.Hold information about a table having a foreign key referencing current table This implementation only support simple foreign keys i.e.