Performance improvement in SelectImpl.getTableIndex() for JPQL without subselect --------------------------------------------------------------------------------
Key: OPENJPA-1493 URL: https://issues.apache.org/jira/browse/OPENJPA-1493 Project: OpenJPA Issue Type: Improvement Components: query Reporter: Catalina Wei Assignee: Catalina Wei OPENJPA-1185 introduced query context that fixes JPQL subquery problems. JPQL queries without subselect pay some performance penalty because of the alias resolution by query context This can be avoided with a simple test which checks to see if the SelectImpl is involved in a subquery. If SelectImpl is not a subquery (it has a parent) or SelectImpl does not have any subselects, then the alias resolution by query context can be by-passed. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.