Examples of ForeignKeyPreventsDropTableException


Examples of com.foundationdb.server.error.ForeignKeyPreventsDropTableException

            }
            // All referencing foreign keys must be in the same schema
            for(ForeignKey foreignKey : table.getReferencedForeignKeys()) {
                final TableName referencingName = foreignKey.getReferencingTable().getName();
                if(!referencingName.getSchemaName().equals(schemaName)) {
                    throw new ForeignKeyPreventsDropTableException(table.getName(), foreignKey.getConstraintName().getTableName(), referencingName);
                }
            }
        }
        for (SQLJJar jar : schema.getSQLJJars().values()) {
            for (Routine routine : jar.getRoutines()) {
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.