Examples of quotedSourceName()


Examples of org.apache.cayenne.dba.QuotingStrategy.quotedSourceName()

        DbRelationship correlatedJoinRelationship = context.getIncomingRelationships(new EJBQLTableId(id)).get(0);
        Iterator<DbJoin> it = correlatedJoinRelationship.getJoins().iterator();
        while (it.hasNext()) {
            DbJoin join = it.next();
            context.append(' ').append(subqueryRootAlias).append('.').append(join.getTargetName()).append(" = ");
            context.append(correlatedTableAlias).append('.').append(quoter.quotedSourceName(join));

            if (it.hasNext()) {
                context.append(" AND");
            }
        }
View Full Code Here

Examples of org.apache.cayenne.dba.QuotingStrategy.quotedSourceName()

        DbRelationship correlatedJoinRelationship = context.getIncomingRelationships(new EJBQLTableId(id)).get(0);

        for (DbJoin join : correlatedJoinRelationship.getJoins()) {
            context.append(' ').append(subqueryRootAlias).append('.').append(join.getTargetName()).append(" = ");
            context.append(correlatedTableAlias).append('.').append(quoter.quotedSourceName(join));
            context.append(" AND");
        }

        // translate subquery_root_id = LHS_of_memberof
        EJBQLEquals equals = new EJBQLEquals(-1);
View Full Code Here

Examples of org.apache.cayenne.dba.QuotingStrategy.quotedSourceName()

                            buf.append(", ");
                            refBuf.append(", ");
                        } else
                            first = false;

                        buf.append(context.quotedSourceName(join));
                        refBuf.append(context.quotedTargetName(join));
                    }

                    buf.append(") REFERENCES ");
                    buf.append(context.quotedFullyQualifiedName((DbEntity) rel.getTargetEntity()));
View Full Code Here

Examples of org.apache.cayenne.dba.QuotingStrategy.quotedSourceName()

        if (it.hasNext()) {
            DbJoin dbJoin = it.next();
            context
                    .append(sourceAlias)
                    .append('.')
                    .append(quoter.quotedSourceName(dbJoin))
                    .append(" = ")
                    .append(targetAlias)
                    .append('.')
                    .append(quoter.quotedTargetName(dbJoin));
        }
View Full Code Here

Examples of org.apache.cayenne.dba.QuotingStrategy.quotedSourceName()

            context.append(", ");
            DbJoin dbJoin = it.next();
            context
                    .append(sourceAlias)
                    .append('.')
                    .append(quoter.quotedSourceName(dbJoin))
                    .append(" = ")
                    .append(targetAlias)
                    .append('.')
                    .append(quoter.quotedTargetName(dbJoin));
        }
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.