Commit Graph

620 Commits

Author SHA1 Message Date
Albert Lee 718370e1ef OPENJPA-957 - Create Fetch*HintHandler(s) for property processing in EntityManager/Query interface methods.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@762161 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 21:29:42 +00:00
Catalina Wei 5e820a36c9 OPENJPA-967 JPA2 Query embeddable MapKey rework
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@761851 13f79535-47bb-0310-9956-ffa450edef68
2009-04-04 01:10:30 +00:00
Michael Dick b6e661e24a OPENJPA-1015 fix line wrapping in source files. Based on patch contributed by B.J. Reed. Updates made to do enforce line wrapping during the process-sources phase of the build.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@761509 13f79535-47bb-0310-9956-ffa450edef68
2009-04-03 03:09:53 +00:00
Fay Wang f21f7b5ae5 OPENJPA-1004: fix problems with IdClass which has a derived identity and the relation corresponding to the derived identity uses generatedKey
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@761326 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 15:38:34 +00:00
Catalina Wei 33ed6bfb7f JPA2 Query support for embeddables; nested embeddables; relationships from embeddables
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@761031 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 19:53:54 +00:00
Michael Dick 80be256e13 OPENJPA-975 committing patch from B.J. Reed
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@760914 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 15:15:42 +00:00
Jeremy Bauer a5e3bdd592 OPENJPA-990 Committing code and test updates contributed by Donald Woods
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@760056 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 17:21:57 +00:00
Milosz Tylenda 7f5471bae7 git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@759470 13f79535-47bb-0310-9956-ffa450edef68 2009-03-28 14:38:49 +00:00
Jeremy Bauer f8bb2a83e6 OPENJPA-773 Updates for 03/13/2009 JSR-317 public draft.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@759348 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 20:58:10 +00:00
Catalina Wei ad0c7db14c OPENJPA-961 JPA2 Query support for element collection
add support for element collection within embeddable object

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@759330 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 20:18:39 +00:00
Catalina Wei c7fabe7ff7 OPENJPA-956 JPA2 Query support ElementCollection in FROM clause
add query test strings

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@758906 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 22:45:39 +00:00
Catalina Wei 7e6ca9043e OPENJPA-956 support elementCollection in FROM clause
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@758868 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 21:36:08 +00:00
Pinaki Poddar 32796f751b OPENJPA-5: Upgrade to JDK6
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@758490 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 01:01:39 +00:00
Jeremy Bauer a4124b4743 OPENJPA-885 Committing additional detach tests contributed by Dianne Richards
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@758442 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 21:43:57 +00:00
Fay Wang f48b254eba OPENJPA-967: Qualified Identifier in-memory query test cases
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@757670 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 05:55:13 +00:00
Michael Dick b546423063 OPENJPA-896. Setting eol-style:native and removing windows eol characters from XML files.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@757388 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 12:42:41 +00:00
Michael Dick 90b84c5d73 OPENJPA-896. Setting eol-style:native and removing windows eol characters from source files.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@757278 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 23:37:24 +00:00
Pinaki Poddar c3175eea3c OPENJPA-995: Refactor OpenJPA Criteria query implementation as 'dynamic query' extension.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@756730 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 19:47:26 +00:00
Fay Wang 9e683c7612 OPENJPA-963: commit patch provided by Donald Woods
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@756193 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 20:54:28 +00:00
Albert Lee 1d92b9a5c0 OPENJPA-991 - disable TestException.testThrowsOptimisticException() until this issue is addressed. This will avoid the test hang condition and allow other tests to proceed, when run in DB2.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@756180 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 20:34:28 +00:00
Catalina Wei ed0f74a34b OPENJPA-967 add query test strings for JPA2 path nagivation thru KEY appear in FROM, WHERE, and ORDER BY clause
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@756151 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 19:36:46 +00:00
Catalina Wei 6f253f050b OPENJPA-967 JPA2 add support for collection valued path thru KEY appear in FROM clause
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@756104 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 17:33:03 +00:00
Jeremy Bauer bb1bc8a39d OPENJPA-878 Committing code and test updates contributed by Donald Woods.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755818 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 02:54:29 +00:00
Jeremy Bauer 2edc92d97f OPENJPA-972 Committing code doc update and tests contributed by Donald Woods.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755615 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 15:18:44 +00:00
Michael Dick 1d94611932 OPENJPA-947. Reduce testcase logging
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755580 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 12:37:31 +00:00
Jeremy Bauer 65a8219817 OPENJPA-885 Committing code and tests contributed by Dianne Richards.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755468 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 04:01:04 +00:00
Jeremy Bauer cb271bfa1d OPENJPA-878 Committing code, tests, and documentation updates for Donald Woods.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755115 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 04:40:23 +00:00
Catalina Wei 7c9ef84fb9 OPENJPA-967 JPA2 JPQL allow KEY(e) of basic types appear in conditional expression
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755102 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 03:13:10 +00:00
Catalina Wei 29a2d30a8a OPENJPA-967 JPA2 support qualified path
add support for ORDER BY & GROUP BY a path thru KEY navigation

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@754961 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 17:16:39 +00:00
Fay Wang 2860368801 OPENJPA-978: make the third argument in substring function
optional.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@753596 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 03:28:14 +00:00
Catalina Wei d8da810820 OPENJPA-967 JPA2 Query support for selection of state field thru KEY navigation
Sample JPQL: select KEY(e).name from Dept d join d.emps e

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@753473 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 23:20:45 +00:00
Albert Lee 0e7c84ef81 OPENJPA-866 - Commit contributions by Tim McConnell.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@753024 13f79535-47bb-0310-9956-ffa450edef68
2009-03-12 21:31:11 +00:00
Pinaki Poddar c8c43e4065 Add no-args constructor such that runtime enhancer can use
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@752930 13f79535-47bb-0310-9956-ffa450edef68
2009-03-12 16:50:21 +00:00
Albert Lee c5a3a56b48 OPENJPA-905 - Commit contribution by Tim McConnell.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@752912 13f79535-47bb-0310-9956-ffa450edef68
2009-03-12 16:00:42 +00:00
Pinaki Poddar 393111b875 OPENJPA-857: PersistenceProductDerivation sets Compatibility according to current specification. Allow multiple specifications to coexist.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@752557 13f79535-47bb-0310-9956-ffa450edef68
2009-03-11 18:38:35 +00:00
Albert Lee 6e6cb3786c OPENJPA-891 - Complete new LockModeType supports in EntityManager. Manual updated. Build and TCK passed. Code reviewed by Pinaki P. and Mike D.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@752306 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 23:41:03 +00:00
Pinaki Poddar 4506244327 OPENJPA-958,959: timeout on query
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@752005 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 07:22:23 +00:00
Pinaki Poddar a1917d1378 OPENJPA-968: Change default detach to be in-place rather than copy to align with JPA 2.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@751910 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 23:27:50 +00:00
Michael Dick ca9d49a5f4 Fix formatting for procedureList classes
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@751790 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 18:55:33 +00:00
Catalina Wei de5e6c9ba9 OPENJPA-967 JPA2 Query support for selection of KEY, VALUE, ENTRY of a Map value
more test scenarios for Map having @MapKeyClass or @MapKeyJoinColumn annotations

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@751766 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 17:08:34 +00:00
Pinaki Poddar cae33419ae OPENJPA-955: test+documentation on MethodQL. Allow candidate class be optional on MethodQL. Do not cache MethodQLQuery.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@750798 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 07:50:54 +00:00
Pinaki Poddar 4b31d54b3e OPENJPA-966: Support unwrap() for JPA 2.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@750788 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 07:08:20 +00:00
Catalina Wei 30ee661fdc OPENJPA-879 JPA2 Query support for selecting KEY, ENTRY and VALUE of a Map value
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@750517 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 17:30:20 +00:00
Fay Wang dff6bf561b OPENJPA-937: AssociationOverrides support when applied to
MappedSuperclass.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@750469 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 14:51:53 +00:00
Fay Wang 2f3ef42f4f OPENJPA-937: back off test case. Will check it in later.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@750225 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 23:26:51 +00:00
Fay Wang 0098cc1e25 OPENJPA-937: AssociationOverrides support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@750122 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 19:42:51 +00:00
Jeremy Bauer b611d3f34e OPENJPA-927 Committing code contributed by Dianne Richards
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@750113 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 19:23:40 +00:00
Albert Lee 8bf4da08ff OPENJPA-891 - correct tests failure due to CPU speed sensitive wait between threads interaction.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@749497 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 00:38:28 +00:00
Pinaki Poddar 23145bf7ca OPENJPA-704: Make extended path lookup optional to save runtime costs for predominant use cases.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@749435 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 21:05:05 +00:00
Albert Lee 781c837812 OPENJPA-903 - Commit contribution submitted by Tim McConnell. [Ref: http://archives.postgresql.org/pgsql-jdbc/2008-01/msg00089.php]
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@749423 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 19:32:14 +00:00