Commit Graph

1238 Commits

Author SHA1 Message Date
Patrick Linskey 1b76c6df24 Possible fix for http://www.nabble.com/InstantiationException-in-latest-OpenJPA-build-tp15799949p15799949.html, which seems to be caused by an attempt to reflectively instantiate a ClassResolverImpl. I've done zero research into how this regression made its way into the codebase, and have not created a test case.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633326 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 23:41:17 +00:00
Albert Lee 64402ea7da OPENJPA-530 - Change BatchingPreparedStatementManagerImpl to correctly batch dispatched statements in the same order requested by the update managers.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633317 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 22:59:07 +00:00
Albert Lee c3ad06e8ff Change _state and JDBCConfigurationState from private to protect enabling JDBCFechConfigurationImpl subclass to propagate correct state information in subclass's newInstance() method call.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633310 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 22:40:13 +00:00
Patrick Linskey 7487d73507 OPENJPA-430. Reverting mapping defaults change; I'm not convinced that the code is correct, but internal Kodo tests fail with the new behavior. Changing for now; more investigation to follow.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633245 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 19:38:47 +00:00
Michael Dick ca9828726d OPENJPA-528 reverting behavior. Original fix caused problems with the TCK.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633075 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 12:54:56 +00:00
Michael Dick a4600fbe98 OPENJPA-528 Handle foreignKey column names similarly to joins in PeristenceMetaDataDefaults.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@632486 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 23:06:06 +00:00
Michael Dick 527b09ce6e OPENJPA-529 cloning configuration before running enhancer
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@632462 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 22:16:30 +00:00
Patrick Linskey 9ece24ade3 Better error message.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@632412 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 19:16:27 +00:00
Patrick Linskey 66d6230a41 Additional test case for enums in queries
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@632404 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 18:41:16 +00:00
Albert Lee 177111b559 Potential NPE where custom can be null, Boolean.TRUE or Boolean.FALSE. Follow the pattern in update() and deleet()
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@631663 13f79535-47bb-0310-9956-ffa450edef68
2008-02-27 17:46:00 +00:00
Patrick Linskey e097063b0a Trivial whitespace change.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@631329 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 18:40:13 +00:00
Albert Lee c4af04617e OPENJPA-359 Improve Timestamp resolution for use by versioning.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@631028 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 22:59:29 +00:00
Albert Lee c3e2f01204 Fix TestVersion's "InvalidStateException: The context has been closed." problem: em1 and em2 are using the same em from currentEntityManager(). This test is very similar to (if not the same as) *.persistence.jdbc.annotation.TestVersion.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@630516 13f79535-47bb-0310-9956-ffa450edef68
2008-02-23 19:38:00 +00:00
Patrick Linskey 699f043cd2 Lazy many-to-one tests.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@630340 13f79535-47bb-0310-9956-ffa450edef68
2008-02-22 22:40:08 +00:00
Patrick Linskey c5309299b5 OPENJPA-521. This is a partial fix; we should be able to avoid the looping in clearInverseRelationCache with a bit of extra data structures in FieldMetaData, probably populated during FieldMetaData.getOrder() or MetaDataRepository.newOrder().
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@630063 13f79535-47bb-0310-9956-ffa450edef68
2008-02-22 01:09:05 +00:00
Kevin W. Sutter 4c70963f1a OPENJPA-513. Temporarily exclude the "no xsd" test until we get a workaround figured out. I haven't figured out an easy way and I need to make progress with the IBM JDK...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@629990 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 21:03:10 +00:00
Kevin W. Sutter 1d57a1fdaa OPENJPA-519. Need to hardcode the 2.4 version until the problem is resolved in the maven surefire plugin (supposedly in 2.4.2).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@629874 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 17:10:53 +00:00
Patrick Linskey 6bb87e6203 OPENJPA-484. Also added 'h2' as an alias for H2Dictionary in the DBDictionary property.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@629627 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 21:58:01 +00:00
Michael Dick ec7bd83e1a OPENJPA-518 Committing code changes suggested by Adam Toback
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@629492 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 15:02:30 +00:00
Patrick Linskey a7648a78c5 Enable more new tests.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@628840 13f79535-47bb-0310-9956-ffa450edef68
2008-02-18 18:25:55 +00:00
Michael Dick 161527339a OPENJPA-517
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@628811 13f79535-47bb-0310-9956-ffa450edef68
2008-02-18 16:53:15 +00:00
Pinaki Poddar c457053f94 OPENJPA-515 Remove XA transaction across slices + test configuration for Derby + activate tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@628387 13f79535-47bb-0310-9956-ffa450edef68
2008-02-16 22:03:25 +00:00
Patrick Linskey de8a4760c8 Enable some of the new tests.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@628375 13f79535-47bb-0310-9956-ffa450edef68
2008-02-16 19:30:20 +00:00
Patrick Linskey 7d44e7a355 Enable some of the new tests.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@628233 13f79535-47bb-0310-9956-ffa450edef68
2008-02-16 03:06:37 +00:00
Patrick Linskey 4ab1384b43 Fixed test case dependency on Sun's VM
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@628177 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 21:48:03 +00:00
Albert Lee 31778f01a8 Enable PersisentProviderImpl subclass to override the configuration impl used by class transformer. The current OpenJPAConfigurationImpl does not recognize options defined in its sub-class and posted an invalid warning message.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@628168 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 20:47:09 +00:00
Patrick Linskey 699f06e06c removed unintentionally-added temporary file
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@628111 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 16:41:24 +00:00
Patrick Linskey 1b74811ed9 removed unintentionally-added tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@628109 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 16:38:22 +00:00
Patrick Linskey 3735e9a54e change a couple of line endings; remove MySQL requirement from openjpa-slice pom
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@628095 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 16:10:09 +00:00
Patrick Linskey d2f5b73e91 previous exclude was overly comprehensive
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@627980 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 09:25:57 +00:00
Patrick Linskey 325aa77bc1 New test cases, currently disabled.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@627979 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 09:19:55 +00:00
Pinaki Poddar ff42968eed OPENJPA-515 Missing Licsnese header
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@627966 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 07:38:33 +00:00
Patrick Linskey 1c738c4412 Disabling Slice tests, since they're failing the build.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@627955 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 05:26:15 +00:00
Pinaki Poddar 1c0b264517 OPENJPA-515 clean up imports
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@627952 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 04:56:23 +00:00
Pinaki Poddar 3d2cbcb7a9 OPENJPA-515 Maintain thread-transaction affinity for bulk delete/update operation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@627943 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 04:44:48 +00:00
Pinaki Poddar 11fba5a612 OPENJPA-515 Add documentation for targeted query via query hints
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@627889 13f79535-47bb-0310-9956-ffa450edef68
2008-02-14 22:17:12 +00:00
Pinaki Poddar 8a811f69ea OPENJPA-515 Add support for targeted query via query hints
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@627888 13f79535-47bb-0310-9956-ffa450edef68
2008-02-14 22:16:45 +00:00
Srinivasa Segu caa400cbb3 OPENJPA-516. Following the setFormOfUse(...) need to still call setString(...)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@627879 13f79535-47bb-0310-9956-ffa450edef68
2008-02-14 21:36:58 +00:00
Catalina Wei 4b45bd5877 OPENJPA-477 fix setting up parameter list for PreparedStatement
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@627873 13f79535-47bb-0310-9956-ffa450edef68
2008-02-14 21:10:50 +00:00
Albert Lee 7ca1cfe20c Enable PersisentProviderImpl subclass to override the default BrokerImpl alias if none is defined in application.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@627668 13f79535-47bb-0310-9956-ffa450edef68
2008-02-14 05:43:22 +00:00
Pinaki Poddar 68f25ced84 OPENJPA-551 Support Range Query
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@627645 13f79535-47bb-0310-9956-ffa450edef68
2008-02-14 03:27:26 +00:00
Pinaki Poddar 763fd3e5a3 OPENJPA-515 A dummy test to warn that Slice tests are currently inactive.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@627638 13f79535-47bb-0310-9956-ffa450edef68
2008-02-14 02:27:54 +00:00
Pinaki Poddar eaf452dcc2 OPENJPA-515 Add basic Tests for distributed database support.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@627636 13f79535-47bb-0310-9956-ffa450edef68
2008-02-14 02:26:59 +00:00
David Ezzio 07d26ee05a Generated values for non-ID fields have interacted poorly with post persist call backs prior to r617525. This test ensures no regression to the buggy behavior.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@627516 13f79535-47bb-0310-9956-ffa450edef68
2008-02-13 16:35:08 +00:00
Kevin W. Sutter 8de471e541 OPENJPA-513. Three of the four test failures with the IBM JDK were due to a malformed listener-orm.xml file. XML elements were out of order and there were a couple of syntax errors.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@620200 13f79535-47bb-0310-9956-ffa450edef68
2008-02-09 20:53:49 +00:00
Michael Dick 94f233f0d8 OPENJPA-374
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@619770 13f79535-47bb-0310-9956-ffa450edef68
2008-02-08 05:18:44 +00:00
Michael Dick 99bf6d14f8 OPENJPA-512
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@619723 13f79535-47bb-0310-9956-ffa450edef68
2008-02-08 01:15:44 +00:00
Michael Dick 81cb7e17f9 OPENJPA-464 commiting patch provided by Teresa Kan
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@619664 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 22:11:21 +00:00
Michael Dick 0033a6b3d9 OPENJPA-511
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@619471 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 16:01:06 +00:00
David Ezzio 321ede95ee Test conversion of svn:eol-style from as-is to native. One file in DOS line endings and one file in Unix line endings. Neither file changed on client, only their svn:eol-style property has been changed by this update.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@619411 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 13:47:48 +00:00