BalusC commented on code in PR #324:
URL: https://github.com/apache/openjpa/pull/324#discussion_r4682277423
##########
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();
+ if (i == null && otherContext)
Review Comment:
+1 for Spotless. I've also configured it in almost all of my other projects
(OmniFaces, OmniHai, OmniPersistence, etc etc as well as 5.0 branches of
Jakarta Faces and Mojarra). Really helpful with all that generated code these
days :)
--
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]