BalusC commented on code in PR #324:
URL: https://github.com/apache/openjpa/pull/324#discussion_r4682178471
##########
openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SelectImpl.java:
##########
@@ -2265,18 +2265,32 @@ private Integer findAliasForQuery(Table table,
PathJoins pj, Object key,
i = sel.findAlias(table, key); // find in parent and in myself
else
i = sel.getAlias(table, key); // find in myself
+ boolean otherContext = ctx != null && ctx != ctx();
Review Comment:
This was existing code. It was just extracted into its own line to avoid
duplication.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]