Package org.jpox.store.rdbms.table

Examples of org.jpox.store.rdbms.table.ViewImpl


            // b). If autocreate, create the view if necessary
            // c). If validate, validate the view
            Iterator i = viewsToValidate.iterator();
            while (i.hasNext())
            {
                ViewImpl v = (ViewImpl) i.next();
                if (checkExistTablesOrViews)
                {
                    if (v.exists(getCurrentConnection(), autoCreateTables))
                    {
                        viewsCreated.add(v);
                    }
                }
                if (validateTables)
                {
                    v.validate(getCurrentConnection(), true, false, autoCreateErrors);
                }

                // Discard any cached column info used to validate the view
                columnInfoByTableName.remove(v.getDatastoreIdentifierFullyQualified());
            }
            return new List[] { viewsCreated, autoCreateErrors };
        }
View Full Code Here

TOP

Related Classes of org.jpox.store.rdbms.table.ViewImpl

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.