org.apache.derby.impl.sql.execute
Class ReferencedKeyRIChecker
- java.lang.Object
-
- org.apache.derby.impl.sql.execute.GenericRIChecker
-
- org.apache.derby.impl.sql.execute.ReferencedKeyRIChecker
-
public class ReferencedKeyRIChecker extends GenericRIChecker
A Referential Integrity checker for a change to a referenced key (primary or unique). Makes sure that all the referenced key row is not referenced by any of its foreign keys. see ForeignKeyRIChecker for the code that validates changes to foreign keys.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidpostCheck()Check that we have at least one more row in the referenced table table containing a key than the number of projected deletes of that key.
-
-
-
Method Detail
-
postCheck
public void postCheck() throws StandardExceptionCheck that we have at least one more row in the referenced table table containing a key than the number of projected deletes of that key. Only used when the referenced constraint id deferred and with RESTRICT mode- Throws:
StandardException- Standard error policy
-
-
DataMelt 3.0 © DataMelt by jWork.ORG