Commit Graph

1968 Commits

Author SHA1 Message Date
Catalina Wei d1c23c2d9d OPENJPA-925 Bidirectional OneToOne relation incorrectly set in loadEagerJoin
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745408 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 08:06:12 +00:00
Pinaki Poddar f08e4e1791 OPENJPA-924: Cache primary key field indices. Simplify QueryStatistics template.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745329 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 00:49:51 +00:00
Pinaki Poddar 3fc7f54a01 OPENJPA-924: Support cache of Finder queries.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745293 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 23:21:37 +00:00
Pinaki Poddar 556e09b69f OPENJPA-703: Use template for QueryStatistics.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745123 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 15:41:28 +00:00
Pinaki Poddar 2582d4de0b OPENJPA-703: Clean up unused varaibles in PreparedQueryCache implementaion and remove support for Class based keys kep as placeholder for finder queries.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@744966 13f79535-47bb-0310-9956-ffa450edef68
2009-02-16 17:00:07 +00:00
Michael Dick 3adf70a029 OPENJPA-917 add testcases contributed by B.J. Reed. Changes to QueryImpl were already made in OPENJPA-900 svn rev 743396
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@743836 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12 18:56:08 +00:00
Jeremy Bauer 7d0452763a OPENJPA-869 Added support for order column table attribute
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@743594 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12 01:55:45 +00:00
A. Abram White 1d47f14547 OPENJPA-913
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@743477 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 20:14:24 +00:00
Jeremy Bauer a1f6b1550f OPENJPA-919 Committing test code contributed by Donald Woods
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@743473 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 20:06:42 +00:00
Fay Wang 1b7ff075c9 OPENJPA-871: MappedById support (spec 2.4.1.2 Ex3b, 5b)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@743437 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 18:19:13 +00:00
Pinaki Poddar 897a912013 Bypass callback method clash if two parsers have parsed the identical method
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@743431 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 18:04:23 +00:00
Pinaki Poddar 8a9595bed4 OPENJPA-900: Consolidate Query Hint related processing. As a byproduct, support new JPA 2.0 getHins() and getSupportedHints().
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@743396 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 16:57:26 +00:00
Pinaki Poddar 5b558e5388 OPENJPA-898: Parse query hints for NamedNativeQuery
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@743270 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 08:12:37 +00:00
Michael Dick b20e5e7086 OPENJPA-876 committing patch provided by Donald Woods
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@742775 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 22:42:09 +00:00
Pinaki Poddar ba62ff1aa3 OPENJPA-916: DistributedTemplate not setting MaxRows and QueryTimeOut correctly
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@742740 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 21:19:32 +00:00
Pinaki Poddar 0916d4b109 OPENJPA-703: Align data loading for Prepared Query Results to Select oriented result object provider
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@742601 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 16:29:37 +00:00
Catalina Wei 32a6c11b0a OPENJPA-703 cleanup TestOptimizeForClause testcase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@742184 13f79535-47bb-0310-9956-ffa450edef68
2009-02-08 22:09:07 +00:00
Catalina Wei 64be080321 OPENJPA-802 JPQ2 fix TestOrderColumn, enforce ordered results
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@742181 13f79535-47bb-0310-9956-ffa450edef68
2009-02-08 22:01:47 +00:00
Catalina Wei 80aea14f18 OPENJPA-912 Potential NPE in setInverseRelation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@741994 13f79535-47bb-0310-9956-ffa450edef68
2009-02-08 01:43:45 +00:00
Catalina Wei 0416d6b54c OPENJPA-807 JPQ2 JPQL fix testcase, enforce ordered results
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@741916 13f79535-47bb-0310-9956-ffa450edef68
2009-02-07 17:16:22 +00:00
Fay Wang 16778feb29 OPENJPA-871: fix test case name clash problem
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@741752 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 22:02:01 +00:00
Catalina Wei ed3889ff69 OPENJPA-703 fix TestOptimizeForClause testcase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@741745 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 21:43:53 +00:00
Catalina Wei 72fa143e53 OPENJPA-703 add testcase for getSingleResult
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@741737 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 21:26:32 +00:00
Fay Wang 6bbbb786c2 OPENJPA-871: check in MappedById test case
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@741701 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 20:11:54 +00:00
Catalina Wei 9c003aa909 OPENJPA-807 JPQ2 JPQL fix testcase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@741691 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 19:44:55 +00:00
Catalina Wei 26b54075bb OPENJPA-856 JPQ2 JPQL support for entity type expression
fix testcase

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@741665 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 18:28:44 +00:00
Fay Wang e2aea2d05a OPENJPA-871: MappedById support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@741595 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 15:34:53 +00:00
Pinaki Poddar 72ac31544f DB2 optimization for Query.getSingleResult()
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@741398 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 04:31:17 +00:00
Jeremy Bauer b4a09c4dab OPENJPA-849 Committing code for Dianne Richards that reverts driver property name back to openjpa property.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@741386 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 03:32:35 +00:00
Catalina Wei 9f0a175b8d OPENJPA-703 make substituteParams() utility method public
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@741347 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 23:53:25 +00:00
Pinaki Poddar cff59ec5c2 OPENJPA-703: Prepared Query Cache Documentation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@741313 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 22:08:31 +00:00
Pinaki Poddar 889ca9d6a4 OPENJPA-703: Update Prepared Query Cache documentation.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@741275 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 20:06:02 +00:00
Jeremy Bauer c3691f5e88 OPENJPA-849 Committing code and corresponding tests contributed by Dianne Richards
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740991 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 03:31:15 +00:00
Jeremy Bauer fa86624289 OPENJPA-849 Committing code and corresponding tests contributed by Dianne Richards
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740990 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 03:31:02 +00:00
Jeremy Bauer b620c40e3e OPENJPA-849 Committing code and corresponding tests contributed by Dianne Richards
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740989 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 03:30:43 +00:00
Jeremy Bauer f99be0c0e0 OPENJPA-849 Committing code and corresponding tests contributed by Dianne Richards
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740986 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 03:21:25 +00:00
Jeremy Bauer 2e07d6bc8f OPENJPA-849 Committing documentation updates contributed by Dianne Richards
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740924 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 22:29:39 +00:00
Pinaki Poddar c27f31a107 OPENJPA-899: Initial support for new JPA 2.0 Query.getHints() API method.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740911 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 22:06:47 +00:00
Pinaki Poddar f7b6f944b2 Update OpenJPA documentation for easier navigation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740805 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 17:32:51 +00:00
Fay Wang 7b5510cabc OPENJPA-873: check in test case
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740802 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 17:24:35 +00:00
Fay Wang 4d5a6c5e56 OPENJPA-870: orm support for OrphanRemoval
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740781 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 16:31:54 +00:00
Michael Dick d61b3b26a9 OPENJPA-772 committing patch provided by Donald Woods
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740763 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 15:12:58 +00:00
Catalina Wei 5fd390856e OPENJPA-703 Cache ResultObjectProvider data to improve query performance
recover a line for query hint.OptimizeResultCount

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740598 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 04:09:58 +00:00
Pinaki Poddar ddec73796c OPENJPA-703: Validate parameter values by their expected types.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740506 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 23:18:54 +00:00
Pinaki Poddar f9c94752d7 OPENJPA-857: Extend support for Specification through a more structured type to carry Version information. Will help Compatibitibility (and may be others) that needs to tune their behavior based on current Specification version as well as backward compatibie versions.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740492 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 22:38:45 +00:00
Michael Dick 808f4a6174 Revert bad testcase changes
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740356 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 17:39:31 +00:00
Jeremy Bauer 592352e8b8 OPENJPA-869 Added query expression to target a specific entity during validation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740314 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 14:46:17 +00:00
Pinaki Poddar b7ca8734b9 OPENJPA-703: Parse SQL for both ?n and ? style parameter markers
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740208 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 04:13:51 +00:00
Pinaki Poddar c71522fa9a OPENJPA-703:How user parameters are converted to Object[] is determined by the Executors. Because they are the consumer of this information. kernel.Query toParameterArray() was making many implict assumptions. A detailed test with paramenetrs and forcing PreparedQueryCacheImpl to cache JPQL only.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740184 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 01:41:25 +00:00
Jeremy Bauer 8746348ea3 OPENJPA-876 Adding required packaging def to DB2 and Oracle example profiles.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740101 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 20:47:18 +00:00