Package com.foundationdb.server.error

Examples of com.foundationdb.server.error.ReferencedSchemaException


            return;
        }
        // 1 == RESTRICT, meaning no drop if the schema isn't empty
        if (dropSchema.getDropBehavior() == StatementType.DROP_RESTRICT ||
                dropSchema.getDropBehavior() == StatementType.DROP_DEFAULT)
            throw new ReferencedSchemaException(schemaName);
        // If the schema isn't used by any existing tables, it has effectively
        // been dropped, so the drop "succeeds".
        else if (dropSchema.getDropBehavior() == StatementType.DROP_CASCADE)
            ddlFunctions.dropSchema(session, schemaName);
    }
View Full Code Here

TOP

Related Classes of com.foundationdb.server.error.ReferencedSchemaException

Copyright © 2018 www.massapicom. 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.