Commit Graph

1877 Commits

Author SHA1 Message Date
Fay Wang 47c15ce621 OPENJPA-871: fix test case problem
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@746043 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 22:52:30 +00:00
Fay Wang 40ec58ce0d OPENJPA-871: check in test case for multiple MappedById
annotations with generated key

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745945 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 17:48:28 +00:00
Albert Lee 679989fd16 OPENJPA-466 - Commit patch contributed by Tim McConnell.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745737 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 05:34:30 +00:00
Catalina Wei 1a407b6d68 OPENJPA-906 fix testcase TestEntityTypeExpression
committing patch from Tim McConnell

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745706 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 02:13:02 +00:00
Fay Wang 357cf347c8 OPENJPA-871: mappedById support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745699 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 00:30:06 +00:00
Pinaki Poddar 1a4223d35b OPENJPA-703: A tentative change for a reported locking problem. Ready to be rolled back if turns out to be too costly.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745661 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 21:28:50 +00:00
Catalina Wei 350dcbc92a OPENJPA-925 update testcase comments
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745597 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 18:34:09 +00:00
Albert Lee ba80c16806 Insert missing assertion on failure condition.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745588 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 18:12:04 +00:00
Albert Lee 1a643ec899 import clean up
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745587 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 18:09:32 +00:00
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