Package org.apache.derby.iapi.sql.dictionary

Examples of org.apache.derby.iapi.sql.dictionary.ConstraintDescriptor.deferrable()


                            bound);
                } else {
                    boundConstraints.add(bound);
                }

                if (deferred && !cd.deferrable()) {
                    throw StandardException.newException(
                            SQLState.LANG_SET_CONSTRAINT_NOT_DEFERRABLE,
                            cd.getConstraintName());
                }
View Full Code Here


      }

      schemaID = constraint.getSchemaDescriptor().getUUID().toString();

            // constraint characteristics
            deferrable = constraint.deferrable();
            initiallyDeferred   = constraint.initiallyDeferred();
            enforced   = constraint.enforced();

            referenceCount = constraint.getReferenceCount();
    }
View Full Code Here

                indexOrConstraintName = conDesc.getConstraintName();
                deferred = lcc.isEffectivelyDeferred(
                        lcc.getCurrentSQLSessionContext(activation),
                        conDesc.getUUID());
                deferrable = conDesc.deferrable();
                uniqueDeferrableConstraintId = conDesc.getUUID();
            }

            if (indDes.isUnique() || indDes.isUniqueDeferrable())
            {
View Full Code Here

                        dd.getConstraintDescriptor(td, cd.getUUID());
          indexOrConstraintName = conDesc.getConstraintName();
                    deferred = lcc.isEffectivelyDeferred(
                            lcc.getCurrentSQLSessionContext(activation),
                            conDesc.getUUID());
                    uniqueDeferrable = conDesc.deferrable();
                    uniqueDeferrableConstraintId = conDesc.getUUID();
        }
        sortObserver =
                    new UniqueIndexSortObserver(
                            lcc,
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.