Commit Graph

1796 Commits

Author SHA1 Message Date
Pinaki Poddar e11b753da5 OPENJPA-924: Add localized statements for logging
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@748625 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27 18:12:20 +00:00
Michael Dick 26a45518fd OPENJPA-901 committing patch provided by Donald Woods.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@748576 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27 16:30:31 +00:00
Fay Wang b811a6c43b OPENJPA-931: IdClass support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@748349 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 23:35:54 +00:00
Pinaki Poddar 4d28f28b20 OPENJPA-825: ExecutorService is not configurable anymore with new threading strategy.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@748308 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 21:17:13 +00:00
Fay Wang d22fc6ab7c OPENJPA-930: fix test case error caused by
TestAttrOverridesXml

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@748296 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 20:51:51 +00:00
Pinaki Poddar 75cf4c522f OPENJPA-825: A new threading policy for Slice via extension
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@748292 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 20:20:44 +00:00
Albert Lee bcfb4e9c83 Remove @Allowfailure in lock manager tests after FinderCache fix.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@748276 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 19:27:19 +00:00
Pinaki Poddar a9c858b39a OPENJPA-766: Allow an explanatory message for @AllowFailure tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@748185 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 15:47:00 +00:00
Pinaki Poddar bf16127d19 OPENJPA-924: Only cache finder queries without read locks
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@748126 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 13:04:01 +00:00
Pinaki Poddar f5cc8d8b9c OPENJPA-942: Allow Tests to specify target database platform
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@747969 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 23:42:44 +00:00
Pinaki Poddar b0a4367dd0 OPENJPA-703: Reinstate performance optimization for DEFAULT and ALL fetch group lookup that was inadvertently rolled back.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@747909 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 20:18:53 +00:00
Pinaki Poddar 094f914969 Oversight in QueryDefinition.selectDistinct() boolean argument corrected
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@747848 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 16:26:29 +00:00
Jeremy Bauer 909c838138 OPENJPA-934 Fixed bugs in test code and added instructions to run in an Oracle environment.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@747496 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24 18:52:16 +00:00
Albert Lee 22a0f837e1 OPENJPA-891 - Committing basic JPA2 lock mode support for em refresh, find and lock methods.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@747489 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24 18:48:09 +00:00
Fay Wang 62c76e42ea OPENJPA-930: orm xml support for AttributeOverride
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@747239 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24 00:39:48 +00:00
Pinaki Poddar 9d7360cb35 OPENJPA-935: Detect table for embedded PC to avoid extra select before delete.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@746640 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22 05:52:06 +00:00
Fay Wang e2fef6a276 OPENJPA-930: AttributeOverride support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@746630 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22 04:11:32 +00:00
Fay Wang f72b68bfbb OPENJPA-931: nested embeddedId/MappedById support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@746446 13f79535-47bb-0310-9956-ffa450edef68
2009-02-21 07:29:40 +00:00
Pinaki Poddar cfd133447f OPENJPA-924: Set JDBC query parameters with type information
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@746060 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 23:58:42 +00:00
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