Examples of ForeignConstraintDDLException


Examples of com.foundationdb.server.error.ForeignConstraintDDLException

            }
            // All children must be in the same schema
            for(Join childJoin : table.getChildJoins()) {
                final TableName childName = childJoin.getChild().getName();
                if(!childName.getSchemaName().equals(schemaName)) {
                    throw new ForeignConstraintDDLException(table.getName(), childName);
                }
            }
            // All referencing foreign keys must be in the same schema
            for(ForeignKey foreignKey : table.getReferencedForeignKeys()) {
                final TableName referencingName = foreignKey.getReferencingTable().getName();
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.