David Ezzio
754eb8d60c
Allow EntityManagerFactory objects to be serialized and deserialized successfully.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@618844 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 00:51:34 +00:00
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
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
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
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
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
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
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
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
Craig Russell
69ee1ce7f0
OPENJPA-331 fix notices
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@607478 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 22:07:29 +00:00
Patrick Linskey
ab88266f2a
OPENJPA-470. Added test case for custom sequence implementations, and updated docs with the current parentheses limitation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@605679 13f79535-47bb-0310-9956-ffa450edef68
2007-12-19 20:19:49 +00:00
Patrick Linskey
008b249c24
OPENJPA-331. Checking in on behalf of Miroslav Nachev. Includes minor whitespace reformatting and @since tags for new source classes.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@604621 13f79535-47bb-0310-9956-ffa450edef68
2007-12-16 12:30:15 +00:00
Michael Dick
45eb530812
OPENJPA-456 committing patch provided by Teresa Kan
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@603633 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 14:59:12 +00:00
Patrick Linskey
265be5d1bd
Tweak test case to report original error instead of cleanup error in the case where a test case failed and put things in a state that prevents cleanup from succeeding.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@603119 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 02:15:28 +00:00
Pinaki Poddar
c00f3b5b78
OPENJPA-462: Adding a Test case to verify correct exception type
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@603032 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 20:16:11 +00:00
Michael Dick
e503930afa
OPENJPA-456 committing patch provided by Teresa Kan
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@601379 13f79535-47bb-0310-9956-ffa450edef68
2007-12-05 15:57:23 +00:00
Michael Dick
860a260fe2
OPENJPA-454
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@599547 13f79535-47bb-0310-9956-ffa450edef68
2007-11-29 19:14:08 +00:00
Patrick Linskey
5018dfaa88
OPENJPA-126: EntityManager serializability. Also includes a fix to make LoadListener.afterRefresh() work. Committing directly (not via remote queue) as I'm about to lose my internet connection for a while. Hopefully, my local testing is accurate.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@597155 13f79535-47bb-0310-9956-ffa450edef68
2007-11-21 17:40:54 +00:00
Patrick Linskey
fad6f35201
Removing the XML types from the default test runs to reduce complexity of unit test executions and to speed up overall test execution time.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@597041 13f79535-47bb-0310-9956-ffa450edef68
2007-11-21 11:42:01 +00:00
Patrick Linskey
21ec161339
Example of how to do dynamic class registration in OpenJPA.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@596958 13f79535-47bb-0310-9956-ffa450edef68
2007-11-21 06:34:00 +00:00
Patrick Linskey
4fb39b9590
Example of how to do dynamic class registration in OpenJPA.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@596954 13f79535-47bb-0310-9956-ffa450edef68
2007-11-21 06:25:29 +00:00
Patrick Linskey
aa5259d521
OPENJPA-446: preemptively adding ASL license header on the assumption that the contributor will allow us to license these files.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@596795 13f79535-47bb-0310-9956-ffa450edef68
2007-11-20 19:37:02 +00:00
Michael Dick
e1dccc1872
OPENJPA-446
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@596731 13f79535-47bb-0310-9956-ffa450edef68
2007-11-20 16:17:57 +00:00
Patrick Linskey
4c2efed65b
OPENJPA-447 -- improved test case
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@596661 13f79535-47bb-0310-9956-ffa450edef68
2007-11-20 13:46:03 +00:00
Patrick Linskey
0346483ada
Trivial whitespace change to test build-triggering filters
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@595916 13f79535-47bb-0310-9956-ffa450edef68
2007-11-17 07:01:40 +00:00
Patrick Linskey
da9c4ba721
Removing disabled test case
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@595915 13f79535-47bb-0310-9956-ffa450edef68
2007-11-17 06:49:40 +00:00
Patrick Linskey
f875a5e98b
OPENJPA-200
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@595912 13f79535-47bb-0310-9956-ffa450edef68
2007-11-17 06:38:33 +00:00
Patrick Linskey
74683912e3
New test case for enums and JPQL (including some disabled failing tests related to OPENJPA-200); simplification to JDBCStoreManager.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@595910 13f79535-47bb-0310-9956-ffa450edef68
2007-11-17 05:28:58 +00:00
Patrick Linskey
6f44b55736
OPENJPA-316
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@595512 13f79535-47bb-0310-9956-ffa450edef68
2007-11-16 01:19:14 +00:00
Patrick Linskey
0071f7b0d8
OPENJPA-316
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@595510 13f79535-47bb-0310-9956-ffa450edef68
2007-11-16 01:09:26 +00:00
Patrick Linskey
634bdc5c92
OPENJPA-9
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@595508 13f79535-47bb-0310-9956-ffa450edef68
2007-11-16 00:51:07 +00:00
Patrick Linskey
2895819d40
OPENJPA-417. Removed obsolete test support class.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@592964 13f79535-47bb-0310-9956-ffa450edef68
2007-11-08 00:09:55 +00:00
Patrick Linskey
17a93adda5
OPENJPA-417. Added support for containers of primitives, embeddeds, externalizables, etc.
...
This does not include test cases for the following annotations:
KeyClassCriteria
KeyColumns (KeyColumn is tested, and follows similar pathways)
KeyEmbeddedMapping
KeyJoinColumns (KeyJoinColumn is tested, and follows similar pathways)
KeyStrategy
ElementColumns (ElementColumn is tested, and follows similar pathways)
ElementEmbeddedMapping
ElementStrategy
XEmbeddedMapping
XMappingOverrides (XMappingOverride is tested, and follows similar pathways)
This change presents a backward-compat issue for OpenJPA: in the past, a Collection<String> or Map<String,String> would be mapped as a BLOB by specifying @PersistentMap or @PersistentCollection on the field.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@592917 13f79535-47bb-0310-9956-ffa450edef68
2007-11-07 21:46:09 +00:00
Patrick Linskey
a710a30b54
Additional test cases.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@592557 13f79535-47bb-0310-9956-ffa450edef68
2007-11-06 21:26:40 +00:00