commit | b59014a4c22e36bc4c46773850e8708c1727b5d8 | [log] [tgz] |
---|---|---|
author | David Minsky <david.minsky@oracle.com> | Tue Oct 25 16:23:01 2016 -0400 |
committer | David Minsky <david.minsky@oracle.com> | Tue Oct 25 16:23:01 2016 -0400 |
tree | 9def73ae85d72159685baafecf0a28073459e2e1 | |
parent | 1193a4812242e891c792532e3911e9669928ac40 [diff] |
Bug 506512 - Syntax error parsing JPQL with ORDER BY clause, using parentheses - Fixes issue with the Hermes OrderByItemBNF impl, by allowing this BNF type to handle/parse sub-expressions, in the same way as a group by does - added a setHandleSubExpression(true) call to the OrderByItemBNF initialize() method - Testing: Added testOrderByWithParentheses* tests to the JUnitJPQLSimpleTestSuite test suite, testing various scenarios using ORDER BY & parentheses Signed-off-by: David Minsky <david.minsky@oracle.com> Reviewed-by: Lukas Jungmann <lukas.jungmann@oracle.com>
The EclipseLink project's goal is to provide a complete persistence framework that is both comprehensive and universal. It will run in any Java environment and read and write objects to virtually any type of data source, including relational databases, XML, JSON, or EIS systems. EclipseLink will focus on providing leading edge support, including advanced feature extensions, for the dominant persistence standards for each target data source; Java Persistence API (JPA) for relational databases, Java API for XML Binding (JAXB) for XML, Java Connector Architecture (JCA) for EIS and other types of legacy systems, and Service Data Objects (SDO).