Package org.apache.cayenne.ejbql.parser

Examples of org.apache.cayenne.ejbql.parser.EJBQLJoin


            joinId.setText(fullPath);

            context.switchToMarker(joinMarker, false);

            if (inner) {
                EJBQLJoin join = new EJBQLInnerJoin(-1);
                join.jjtAddChild(path, 0);
                join.jjtAddChild(joinId, 1);
                getJoinAppender().visitInnerJoin(join);

                this.lastAlias = context.getTableAlias(fullPath, currentEntity
                        .getDbEntityName());
            }
            else {
                EJBQLJoin join = new EJBQLOuterJoin(-1);
                join.jjtAddChild(path, 0);
                join.jjtAddChild(joinId, 1);
                getJoinAppender().visitOuterJoin(join);

                Relationship lastRelationship = currentEntity
                        .getRelationship(lastPathComponent);
                ObjEntity targetEntity = (ObjEntity) lastRelationship.getTargetEntity();
View Full Code Here

TOP

Related Classes of org.apache.cayenne.ejbql.parser.EJBQLJoin

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.