Examples of pushCompilationSchema()


Examples of org.apache.derby.iapi.sql.compile.CompilerContext.pushCompilationSchema()

    CompilerContext compilerContext = getCompilerContext();

    if (origCompilationSchema != null) {
      // View expansion needs the definition time schema
      compilerContext.pushCompilationSchema(origCompilationSchema);
    }

    try {
      subquery.bindExpressions(nestedFromList);
      subquery.bindResultColumns(nestedFromList);
View Full Code Here

Examples of org.apache.derby.iapi.sql.compile.CompilerContext.pushCompilationSchema()

                // Unqualified function references should resolve to the
                // current schema at the time that the table was
                // created/altered. See DERBY-3945.
                //
                SchemaDescriptor    originalCurrentSchema = getSchemaDescriptor( di.getOriginalCurrentSchema(), true );
                compilerContext.pushCompilationSchema( originalCurrentSchema );

        try {
                    bindRowScopedExpression( getNodeFactory(), getContextManager(), targetTableDescriptor, sourceRCL, generationClause );
                }
                finally
View Full Code Here

Examples of org.apache.derby.iapi.sql.compile.CompilerContext.pushCompilationSchema()

                            targetTableDescriptor);

            if (checkConstraints != null)
      {
                SchemaDescriptor    originalCurrentSchema = targetTableDescriptor.getSchemaDescriptor();
                compilerContext.pushCompilationSchema( originalCurrentSchema );

                try {
                    bindRowScopedExpression(nodeFactory, getContextManager(),
                                            targetTableDescriptor,
                                            sourceRCL,
View Full Code Here

Examples of org.apache.derby.iapi.sql.compile.CompilerContext.pushCompilationSchema()

                // Unqualified function references should resolve to the
                // current schema at the time that the table was
                // created/altered. See DERBY-3945.
                //
                SchemaDescriptor    originalCurrentSchema = getSchemaDescriptor( di.getOriginalCurrentSchema(), true );
                compilerContext.pushCompilationSchema( originalCurrentSchema );

        try {
                    bindRowScopedExpression( getNodeFactory(), getContextManager(), targetTableDescriptor, sourceRCL, generationClause );
                }
                finally
View Full Code Here

Examples of org.apache.derby.iapi.sql.compile.CompilerContext.pushCompilationSchema()

      ** That way we pick up the same tables no matter what
      ** schema we are running against.
      */
      compSchema = dataDictionary.getSchemaDescriptor(vd.getCompSchemaId(), null);

      compilerContext.pushCompilationSchema(compSchema);
 
      try
      {
   
        /* This represents a view - query is dependent on the ViewDescriptor */
 
View Full Code Here

Examples of org.apache.derby.iapi.sql.compile.CompilerContext.pushCompilationSchema()

                //
                // Unqualified function references should resolve to the
                // current schema at the time that the table was
                // created/altered. See DERBY-3945.
                //
                compilerContext.pushCompilationSchema(
                    getSchemaDescriptor(di.getOriginalCurrentSchema(), false));

        try {
                    bindRowScopedExpression( getNodeFactory(), getContextManager(), targetTableDescriptor, sourceRCL, generationClause );
                }
View Full Code Here

Examples of org.apache.derby.iapi.sql.compile.CompilerContext.pushCompilationSchema()

                            targetTableDescriptor);

            if (checkConstraints != null)
      {
                SchemaDescriptor    originalCurrentSchema = targetTableDescriptor.getSchemaDescriptor();
                compilerContext.pushCompilationSchema( originalCurrentSchema );

                try {
                    bindRowScopedExpression(nodeFactory, getContextManager(),
                                            targetTableDescriptor,
                                            sourceRCL,
View Full Code Here

Examples of org.apache.derby.iapi.sql.compile.CompilerContext.pushCompilationSchema()

    CompilerContext compilerContext = getCompilerContext();

    if (origCompilationSchema != null) {
      // View expansion needs the definition time schema
      compilerContext.pushCompilationSchema(origCompilationSchema);
    }

        // Nested VTI/tableFunctions will want to know whether their arguments
        // reference tables in the FROM list which contains this subquery. Those
        // references are illegal. See DERBY-5554 and DERBY-5779.
View Full Code Here

Examples of org.apache.derby.iapi.sql.compile.CompilerContext.pushCompilationSchema()

                //
                // Unqualified function references should resolve to the
                // current schema at the time that the table was
                // created/altered. See DERBY-3945.
                //
                compilerContext.pushCompilationSchema(
                    getSchemaDescriptor(di.getOriginalCurrentSchema(), false));

        try {
                    bindRowScopedExpression(
                        getOptimizerFactory(),
View Full Code Here

Examples of org.apache.derby.iapi.sql.compile.CompilerContext.pushCompilationSchema()

                    hasDeferrableCheckConstraints);

            if (checkConstraints != null)
      {
                SchemaDescriptor    originalCurrentSchema = targetTableDescriptor.getSchemaDescriptor();
                compilerContext.pushCompilationSchema( originalCurrentSchema );

                try {
                    bindRowScopedExpression(optimizerFactory,
                                            getContextManager(),
                                            targetTableDescriptor,
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.