Commit Graph

2061 Commits

Author SHA1 Message Date
Fay Wang 5580dd3ea6 OPENJPA-1021: allow MapKey on relation fields
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@763284 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 15:39:54 +00:00
Pinaki Poddar 921cd71acf Skip compiling JDK6 dependent class on JDK5 profile
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@763155 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 09:37:04 +00:00
Pinaki Poddar 96cb35ffa3 OPENJPA-1024: Scalar expression in SubQuery requires subquery expression be enclosed in parentheses
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@763149 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 09:06:11 +00:00
Pinaki Poddar 2582022326 Skip compiling JDK6 dependent class till we figure out conditional compilation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@763147 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 09:00:28 +00:00
Fay Wang d0cb71dd59 OPENJPA-1021: support MapKey annotation on relation fields
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@763015 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 22:32:36 +00:00
Pinaki Poddar 3fc6ac211d OPENJPA-1010: Canonical Metamodel Generator from annotated source code that hooks into JDK6 Annotation Processing facility.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@762968 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 21:14:40 +00:00
Catalina Wei 05ebf66372 OPENJPA-1024 JPA2 support scalar expressions in subquery
add test strings

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@762871 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 17:51:36 +00:00
Catalina Wei df18282acd OPENJPA-1024 JPA2 support scalar expressions in subquery
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@762854 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 17:06:19 +00:00
Michael Dick dbeb9b4b61 OPENJPA-1015 committing plugin version patch from Donald Wodds.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@762774 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 13:43:53 +00:00
Michael Dick b5d5ea2734 OPENJPA-1023. set svn:eol on .properties
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@762563 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 23:28:17 +00:00
Albert Lee 4386138356 OPENJPA-1022 - correct test case to properly handle notify/wait testing protocol between multi-threads test scenario. This fix corrects some timing related failures.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@762559 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 22:59:21 +00:00
Albert Lee bdce39ae28 OPENJPA-1022 - Ensure LockMode READ/OPTIMISTIC & WRITE/OPTIMISTIC_FORCE_INCREMENT are distinct in type but semantics equivalent.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@762409 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 16:30:24 +00:00
Albert Lee 983775de06 OPENPA-957 - Correct > 80 columns build problem.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@762181 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 22:56:16 +00:00
Albert Lee bb01292ce9 OPENJPA-957 - Guard NPE as fetch may be null in getForUpdateClause.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@762177 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 22:37:24 +00:00
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
Milosz Tylenda 616f8fdbee OPENJPA-723: Feature request for PostgreSQL XML Column Mapping
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@762073 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 12:07:49 +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 b6f8f0f4ec OPENJPA-1015. Moving checkstyle config file to openjpa-project.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@761799 13f79535-47bb-0310-9956-ffa450edef68
2009-04-03 21:15:01 +00:00
Michael Dick bb2c50ee43 OPENJPA-1015. Committing auditing patch from Donald Woods
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@761699 13f79535-47bb-0310-9956-ffa450edef68
2009-04-03 14:42:15 +00:00
Michael Dick 05e379036c OPENJPA-1015. Adding checkstyle config file.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@761666 13f79535-47bb-0310-9956-ffa450edef68
2009-04-03 13:18:28 +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
Patrick Linskey 318d408ab7 fixed spacing issue with some localization messages that wrap. This pushes some lines to 81 characters; we could re-wrap these lines if needed.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@761417 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 20:26:09 +00:00
Michael Dick a0a3418ae0 OPENJPA-975 clean up manual
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@761395 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 19:24:57 +00:00
Milosz Tylenda 0aedae4370 OPENJPA-883: Documentation is out of date for some MySQLDictionary properties
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@761373 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 18:45:32 +00:00
Fay Wang 19371ce174 OPENJPA-218: fix merge problem with derived identity using IdClass. The corresponding test case is checked in using JIRA-1004.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@761328 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 15:40:13 +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
Albert Lee d3b1a2e368 OPENJPA-1005 - Set persistence.xml schema version for PersistenceUnitInfo interface.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@760047 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 17:06:32 +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 66f829f7eb OPENJPA-999: add eol to localizer.properties
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@758366 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 17:51:51 +00:00
Fay Wang fac1cf7614 OPENJPA-999: put back sql-warning message to Localizer.properties
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@758364 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 17:46:30 +00:00
Michael Dick 9d3a7899be OPENJPA-951
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@757760 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 12:20:29 +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
Fay Wang 31ae580252 OPENJPA-973: allow DB2 jcc driver to access Informix
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@757512 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 19:19:24 +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
Albert Lee 2d9f445cb8 Remove un-needed import.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@756698 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 18:14:45 +00:00
Albert Lee 7ad6a01e84 OPENJPA-992 - Correct proper DB2 SQLState to EntityExistsException translation.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@756238 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 22:27:45 +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