Commit Graph

1180 Commits

Author SHA1 Message Date
Patrick Linskey 3f439edc57 OPENJPA-506. Fixed behaviors for global listeners to get TCK working on trunk again. It turns out that global listeners and per-instance listeners are bound into the OpenJPA event framework differently.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@618821 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 23:26:33 +00:00
Pinaki Poddar 024faa31d7 OPENJPA-509 Fix & Test for insertion of MappedSuperClass-Entity-Embedded domain model insertion failure.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@618794 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 21:53:39 +00:00
David Ezzio c767561f9d Added property to permit passing in debugging settings during Maven test run.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@618791 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 21:52:59 +00:00
David Ezzio b74fc31881 Prevent deadlock in database during teardown when testing failures leave transactions open
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@618787 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 21:49:11 +00:00
David Ezzio ebe3fdbd6d Improved the robustness of these test cases
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@618786 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 21:46:09 +00:00
Michael Dick b92f6420af OPENJPA-401 making temporary classloader optional for MappingTool ant task
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@618745 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 18:58:09 +00:00
Pinaki Poddar 24d2a42c22 Get the key from config only once as it is costly
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@618741 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 18:50:02 +00:00
Patrick Linskey de14ad6630 OPENJPA-147. Changes resulting from tests via Kodo's harness.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@618738 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 18:34:55 +00:00
Patrick Linskey 012efc034c OPENJPA-147. Changes resulting from tests via Kodo's harness.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@618537 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 04:34:54 +00:00
Patrick Linskey 18c90bbd0b OPENJPA-508 Merge from ../branches/1.0.x. svn merge -c 617760 ../branches/1.0.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@617763 13f79535-47bb-0310-9956-ffa450edef68
2008-02-02 06:42:20 +00:00
David Ezzio 8ba8ffffc4 Fixed line lengths
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@617580 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 17:57:45 +00:00
David Ezzio 4d336b2a2c Rolledback change to AbstractBrokerFactory pending resolution of issues arising from r616972. Modified TestSerializedFactory to expect failure: it expects created EntityManagerFactory objects to be instances of Serialization, but to not be useful after serialization.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@617577 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 17:53:48 +00:00
Patrick Linskey a747db9443 OPENJPA-506. svn merge -c 617334 ../branches/1.0.x; svn merge -c 617363 ../branches/1.0.x, plus modifications for serialization.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@617525 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 15:46:51 +00:00
Patrick Linskey 64d0ea8166 OPENJPA-135, OPENJPA-420 Merge from ../branches/1.0.x. svn merge -c 617164
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@617200 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 19:41:46 +00:00
Patrick Linskey 171dc5d46a OPENJPA-258 Merge from ../branches/1.0.x. svn merge -c 617073
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@617199 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 19:40:34 +00:00
Patrick Linskey 62c8c548d9 OPENJPA-258 Merge from ../branches/1.0.x. svn merge -c 617039
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@617198 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 19:39:25 +00:00
Patrick Linskey 18e83a09b1 OPENJPA-251, OPENJPA-329. svn merge -c 616961 ../branches/1.0.x/
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@617191 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 19:01:45 +00:00
David Ezzio d24bec6ed6 Allow EntityManagerFactory objects to be serialized and deserialized successfully.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@616972 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 00:59:02 +00:00
Patrick Linskey 8d161ff99e OPENJPA-357, OPENJPA-358. Changing @since tag to 1.1.0.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@616905 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 21:10:49 +00:00
Kevin W. Sutter 70f3a94b36 OPENJPA-505. Resolving some formatting issues with the r616658 commit.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@616878 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 20:01:09 +00:00
Patrick Linskey badc4b924f OPENJPA-437. Reverted back to hard-reference ArrayList instead of a concurrent set, since the new logic only performs local mutation.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@616845 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 19:03:48 +00:00
Patrick Linskey 0b4ce34920 OPENJPA-505. Committing on behalf of joe@bea.com (Joe Weinstein).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@616658 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 06:49:26 +00:00
Catalina Wei b2a10e285f OPENJPA-477 no need to make changes to BootStrap, StateManagerImpl and PersistenceProviderImpl.
These files are restored to their previous version.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@615806 13f79535-47bb-0310-9956-ffa450edef68
2008-01-28 09:36:42 +00:00
Patrick Linskey 37c4e9148a OPENJPA-437. Trivial change to be consistent with class usage between constructor and symbolic constant.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@615361 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 21:53:57 +00:00
Patrick Linskey 78f5a95b2b OPENJPA-437
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@615360 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 21:52:05 +00:00
Patrick Linskey 2a612c1053 OPENJPA-245
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@615317 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 19:41:57 +00:00
Patrick Linskey 2a45dc5929 OPENJPA-437
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@615316 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 19:41:47 +00:00
Patrick Linskey d4454e5a1f OPENJPA-503
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@614936 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 17:41:44 +00:00
Patrick Linskey 5a1faec471 OPENJPA-502
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@614812 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 07:33:32 +00:00
Patrick Linskey 6a29ebffe4 OPENJPA-503
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@614806 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 06:56:14 +00:00
Catalina Wei a8f6d3c116 OPENJPA-477 Making StoreManager more flexible and extensible
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@614763 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 01:33:48 +00:00
Michael Dick 8d18daabd7 OPENJPA-464 committing patch provided by Teresa Kan
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@614731 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 23:25:56 +00:00
Patrick Linskey 72aefb149b OPENJPA-430. Docs update.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@614643 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 19:54:29 +00:00
Patrick Linskey 95018cef64 OPENJPA-430. Fixed bug that passed all column name checks through to the DBDictionary for potential renaming even when _defMissing is enabled.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@614640 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 19:51:45 +00:00
Patrick Linskey 13dd4f2252 Improve error message when checking metadata access types; correct recursive method to always include superclass information.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@614606 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 18:15:09 +00:00
Patrick Linskey 3aa60007dd OPENJPA-500
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@614583 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 17:22:55 +00:00
Michael Dick 4d9a6759db OPENJPA-245
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@614563 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 15:16:01 +00:00
Patrick Linskey 92d1334e52 OPENJPA-498. Resolve this by not removing if the prop is not set; the prop in question is only ever set internally anyways when EMF pooling is enabled.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@613332 13f79535-47bb-0310-9956-ffa450edef68
2008-01-19 00:55:19 +00:00
Kevin W. Sutter 7f797f0226 OPENJPA-437. Changed AbstractBrokerFactory.loadPersistentTypes to be synchronized to get around the multi-threading issue during broker creation.
Also, migrated the change for OPENJPA-449 from trunk to the 1.0.x branch.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@612846 13f79535-47bb-0310-9956-ffa450edef68
2008-01-17 15:35:45 +00:00
Pinaki Poddar 240d356314 OPENJPA-495 Populate Ordering/ProjectClauses from JPQL parser to be used for merging multiple ordered results
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@612583 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 22:01:42 +00:00
Patrick Linskey 8464ea75f1 OPENJPA-488. HSQL override is no longer necessary; correct if clause in DBDictionary.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@612523 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 17:25:47 +00:00
Patrick Linskey 206f0f04e1 OPENJPA-488, OPENJPA-489, OPENJPA-490, OPENJPA-491, OPENJPA-492. Reduce logging in test case; use onlyChild() to validate tree structure.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@612348 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 04:35:26 +00:00
Patrick Linskey 3d3cb67c5a OPENJPA-488, OPENJPA-489, OPENJPA-490, OPENJPA-491, OPENJPA-492. Adding omitted license headers.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@612347 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 04:18:19 +00:00
Patrick Linskey 8c4cf9511e OPENJPA-488, OPENJPA-489, OPENJPA-490, OPENJPA-491, OPENJPA-492
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@612345 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 03:49:23 +00:00
Patrick Linskey 72f7d7ce43 OPENJPA-147: added license headers
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@610999 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 00:28:55 +00:00
Patrick Linskey d4a2929a57 OPENJPA-147 -- managed interface support. Also includes failure test case for OPENJPA-481.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@610924 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 20:44:35 +00:00
Patrick Linskey 2933147f53 proxy collection optimization for adding to the end of a list vs. adding elsewhere
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@610922 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 20:37:36 +00:00
Catalina Wei 0d3bc96fcb OPENJPA-471 iSeries DB2 problem with using @GeneratedValue(strategy=GenerationType.IDENTITY)
or @GeneratedValue(strategy=GenerationType.SEQUENCE)


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@610697 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 06:55:17 +00:00
David Ezzio d621aa765d Removed duplicate prefixing of schema name in resolveTableName
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@610427 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 15:59:39 +00:00
Patrick Linskey 07c046a077 Oops; earlier refactoring was not complete.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@609825 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 01:03:43 +00:00