commit | 86621f8953e8ed62ce8eacd9e2fe91f7e901fc62 | [log] [tgz] |
---|---|---|
author | David Minsky <david.minsky@oracle.com> | Tue Sep 13 12:34:10 2016 -0400 |
committer | David Minsky <david.minsky@oracle.com> | Tue Sep 13 12:34:10 2016 -0400 |
tree | 7fd03e4b66cd2a53b0ec28039032f5ceb20091c4 | |
parent | 4e72556597a4be457382200da54e176d727719fb [diff] |
Bug 501272 - JPQL named query using 'select new' syntax does not return cached results from query results cache - Fix to QueryImpl.getDatabaseQueryInternal() to not reset a Query's uninitialized first result index, unless the parameter is greater than 0 (default for ReadQuery) - Test testSelectNewJPQLQueryWithQueryResultsCache added to JUnitJPQLUnitTestSuite - Test a JPQL query with 'select new' syntax with a named query and query results cache enabled Signed-off-by: David Minsky <david.minsky@oracle.com> Reviewed-by: Petros Splinakis <petros.splinakis@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).