Package org.jpox.store.mapped.expression

Examples of org.jpox.store.mapped.expression.MetaDataStringLiteral


            RDBMSStoreData schemaDataOption = (RDBMSStoreData)optionsIter.next();
            ClassMetaData cmd = (ClassMetaData)schemaDataOption.getMetaData();

            QueryExpression qs = storeMgr.getDatastoreAdapter().newQueryStatement(schemaDataOption.getDatastoreContainerObject(), om.getClassLoaderResolver());
            String classname = StringUtils.leftAlignedPaddedString(schemaDataOption.getName(), metadata_id_len);
            qs.selectScalarExpression(new MetaDataStringLiteral(qs,classname));

            // LEFT OUTER JOIN to all direct subclasses
            Iterator subclass_iter = storeMgr.getSubClassesForClass(schemaDataOption.getName(),false, om.getClassLoaderResolver()).iterator();
            int subclasses_seq_id = 0;
            while (subclass_iter.hasNext())
View Full Code Here


                String classname = pcClass;
                if (maxClassNameLen > classname.length())
                {
                    classname = StringUtils.leftAlignedPaddedString(pcClass, maxClassNameLen);
                }
                stmt.selectScalarExpression(new MetaDataStringLiteral(stmt,classname));
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.jpox.store.mapped.expression.MetaDataStringLiteral

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.