Commit Graph

419 Commits

Author SHA1 Message Date
Pinaki Poddar b4c557d0c0 OPENJPA-660: SQL Query Cache supports binding non-primary key parameters to cached SQL. Commit fix on behalf of Fay Wang. Original test case developed by Vikram Bhatia.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@678722 13f79535-47bb-0310-9956-ffa450edef68
2008-07-22 11:54:26 +00:00
Pinaki Poddar 4c0bf1be10 OPENJPA-207: Support multi-level derived identity. Enhancer has been modified.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@678518 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 17:55:17 +00:00
Catalina Wei 89695ec253 OPENJPA-51 A non-correlated subquery resulting SQL syntax error
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@676787 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 02:06:55 +00:00
Pinaki Poddar 434319cfee OPENJPA-659: Dirty checking fails for runtime enhanced classes. The original case reported the failure in a Spring-Tomcat-Weaver with Embdded field. But as TestSimpleUnenhancedQuery can raise the same failure in a simpler settings. The fix is related to initializing a SaveFieldManager conditional to having loaded fields at invocation of saveFields(). The fix removes the condition and ensures that a SaveFieldManager is assocaited even when saveFields() is invoked without any field loaded.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@676727 13f79535-47bb-0310-9956-ffa450edef68
2008-07-14 20:46:18 +00:00
Catalina Wei b2812a4cce OPENJPA-51 Incorrect SQL with syntax error for JPQL subqueries
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@676467 13f79535-47bb-0310-9956-ffa450edef68
2008-07-14 03:46:44 +00:00
Pinaki Poddar 026c96d513 OPENJPA-656: raise error messages with connection parameters on connect failure
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@676073 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 20:28:49 +00:00
Pinaki Poddar 2a588d6a2b OPENJPA-652: Formatting to be published base TestCases
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@673855 13f79535-47bb-0310-9956-ffa450edef68
2008-07-03 22:41:07 +00:00
Pinaki Poddar 50aaa9764a OPENJPA-647: Simple edit for 80-column format rule
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@673479 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 20:00:49 +00:00
Pinaki Poddar 1ad09239b3 OPENJPA-647: ClassMetaData listens to value updates of dynamic property
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@673476 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 19:50:37 +00:00
Catalina Wei 25a69ffe0a OPENJPA-648 Table generator uses incorrect schema name
commit OPENJPA-648_1.2.0.patch provided by Jeremy Bauer

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@673267 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 03:51:05 +00:00
Catalina Wei de790be2ad OPENJPA-235 SQL reordering to avoid non-nullable foreign key constraint violations
Fix problem in deletion for foreign key on delete cascade.
Commit openjpa-235-delete-cascade.patch provided by Fay Wang.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@673258 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 01:32:33 +00:00
Pinaki Poddar d52998d074 OPENJPA-340: Formatting to 80 lines
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@672416 13f79535-47bb-0310-9956-ffa450edef68
2008-06-27 22:54:51 +00:00
Pinaki Poddar 6868b1cc4a OPENJPA-340: UniqueConstraint supported via XML Descriptors
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@672406 13f79535-47bb-0310-9956-ffa450edef68
2008-06-27 22:02:34 +00:00
Pinaki Poddar ff4a96e707 OPENJPA-340: Support for @UniqueConstraints on @TableGenerator, @SecondaryTable and @JoinTable.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@672038 13f79535-47bb-0310-9956-ffa450edef68
2008-06-26 22:04:06 +00:00
Michael Dick fb78813259 OPENJPA-545 committing patch provided by Jeremy Bauer
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@671319 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 19:48:23 +00:00
Pinaki Poddar d1a165bc61 OPENJPA-112,OPENJPA-111: Early check for 1-based positional parameter and no named parameter in native query. Also more specific error message
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@669341 13f79535-47bb-0310-9956-ffa450edef68
2008-06-19 00:40:17 +00:00
Pinaki Poddar f62ea1ab0d OPENJPA-533: Update query can set single-valued association to NULL or non-NULL.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@669332 13f79535-47bb-0310-9956-ffa450edef68
2008-06-18 23:25:59 +00:00
Pinaki Poddar a8e0dc180e OPENJPA-458: Amplified SQL Exception processing. Introduced a new sql-error-state-codes.xml to specify database specific error code for different types of Store exceptions. This helps to narrow SQL exception to a specific errors which bubble up to user application.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@668814 13f79535-47bb-0310-9956-ffa450edef68
2008-06-17 20:07:12 +00:00
Pinaki Poddar e00c6e8f80 OPENJPA-625: remove Embedded collection members throws exception in PCData
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@668268 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16 19:29:24 +00:00
Pinaki Poddar 7ac8321f27 OPENJPA-209,OPENJPA-210: Test for projection query with duplicate result
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@667647 13f79535-47bb-0310-9956-ffa450edef68
2008-06-13 20:46:40 +00:00
Pinaki Poddar 71519b0808 OPENJPA-610: Restored refresh() behavior for clean/new instances.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@667312 13f79535-47bb-0310-9956-ffa450edef68
2008-06-13 01:58:49 +00:00
Patrick Linskey 12c0a094ee Merge from ../branches/1.1.x. svn merge -c 656796 ../branches/1.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666919 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:59:15 +00:00
Patrick Linskey 1a45d110a2 OPENJPA-130. Merging r655581 from 1.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666914 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:55:03 +00:00
Patrick Linskey 753be68e24 OPENJPA-231. Merging r655354 and r655592 from 1.1.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666912 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:52:31 +00:00
Patrick Linskey 97a94847f6 OPENJPA-130. Merge from ../branches/1.1.x. svn merge -c 653008 ../branches/1.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666905 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:46:28 +00:00
Patrick Linskey 96dd926f4a OPENJPA-522. Backporting r652026 to trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666894 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:22:54 +00:00
Patrick Linskey b589da8070 OPENJPA-245. Backported r646082 to trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666888 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:14:24 +00:00
Michael Dick 981c023e0e OPENJPA-633 updating pom.xml files to be compatible with the maven-release-plugin. There are a lot of formatting changes which are needed to prevent the plugin from removing our copyright header.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666731 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 16:48:56 +00:00
Pinaki Poddar 63c4899227 OPENJPA-602: Avoid NPE when table-per-class inheritance staregy with an abstract root. See test cases for further details.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666314 13f79535-47bb-0310-9956-ffa450edef68
2008-06-10 20:34:52 +00:00
Pinaki Poddar 794305c2f1 git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@661800 13f79535-47bb-0310-9956-ffa450edef68 2008-05-30 18:10:50 +00:00
Pinaki Poddar 89b296fd54 OPENJPA-610: OpenJPA internal exceptions are heuristically translated at facade-level to JPA-defined exception subtypes
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@661498 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 21:53:51 +00:00
Pinaki Poddar 45693d4e7a OPENJPA-610: refresh() hits database irrespective of clean/dirty state or current lock mode or active/inactive DataCache
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@660753 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 22:45:01 +00:00
Pinaki Poddar 8f97a2aea3 Clear instances before running the tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@660536 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 14:40:17 +00:00
Pinaki Poddar 1ad21f614c OPENJPA-610 Adding some comments/formatting to the tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@659679 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 21:51:25 +00:00
Pinaki Poddar 534778acf8 OPENJPA-610 Test cases to identify use cases where behavior differs because of DataCache
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@659669 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 21:35:32 +00:00
Michael Dick 3a5e61238d OPENJPA-213
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@658197 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 10:51:42 +00:00
Michael Dick 4ac794ee69 OPENJPA-589 updating testcase with Fay's changes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@655842 13f79535-47bb-0310-9956-ffa450edef68
2008-05-13 12:52:57 +00:00
Patrick Linskey c27bed9d7b OPENJPA-589. Committing test cases on behalf of Fay Wang.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@655682 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 22:50:57 +00:00
Pinaki Poddar 33e094c6f1 OPENJPA-586 Query parameter binding for externalized fields
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@654272 13f79535-47bb-0310-9956-ffa450edef68
2008-05-07 21:06:16 +00:00
Michael Dick a31dfaa31f OPENJPA-591
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@654227 13f79535-47bb-0310-9956-ffa450edef68
2008-05-07 19:34:26 +00:00
Catalina Wei 14eeab2c00 OPENJPA-573 JPQL: The combination LIKE ESCAPE does not accept parameters
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@653176 13f79535-47bb-0310-9956-ffa450edef68
2008-05-04 03:26:24 +00:00
Michael Dick 0f32d37668 OPENJPA-407 committing patch provided by Fay Wang and Jeremy Bauer
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@652913 13f79535-47bb-0310-9956-ffa450edef68
2008-05-02 21:09:14 +00:00
Patrick Linskey 18a3db781b OPENJPA-562, OPENJPA-536, OPENJPA-564, OPENJPA-536, OPENJPA-576, OPENJPA-577. Merging changes from 1.1.x branch.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@650714 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 01:10:43 +00:00
Catalina Wei 07cd1728a1 OPENJPA-547 add test strings for FETCH JOINs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@647026 13f79535-47bb-0310-9956-ffa450edef68
2008-04-11 01:08:29 +00:00
Albert Lee 810e401dbe OPENJPA-565 - Add test case.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@646594 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 23:27:47 +00:00
Patrick Linskey 8803104f41 moved release number to 1.2.0-SNAPSHOT now that we've made a 1.1.x branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@646049 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 19:40:02 +00:00
A. Abram White ea8b942364 Be a little more flexible on the exceptions thrown when persisting instances
with auto-generated keys already assigned values.



git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@645610 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 16:52:31 +00:00
Patrick Linskey 999ce2e670 OPENJPA-536. Committing on behalf of Amy Yang.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@644115 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 00:01:47 +00:00
Albert Lee 315a348848 OPENJPA-417 - add openjpa.Compability(StoreMapCollectionInEntityAsBlob=true) option to enable map/collection stores as Blob in the database. This allows existing application continues to work.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@641842 13f79535-47bb-0310-9956-ffa450edef68
2008-03-27 15:08:07 +00:00
Patrick Linskey b2c1e8f16f OPENJPA-544. Get rid of JDK1.4 support, fold the jdk1.5 modules into their siblings, get rid of some ugly reflection that was there for 1.5 support, and move to the java.util.concurrent collections classes. This includes a wrapper around ConcurrentHashMap that allows nulls, since the old OpenJPA concurrent map allowed nulls and we rely on that behavior. The implication is that putIfAbsent() and some of the other special JDK1.5 methods don't obey the same contracts as in the java.util.concurrent package.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@640685 13f79535-47bb-0310-9956-ffa450edef68
2008-03-25 03:37:56 +00:00
Catalina Wei 57ca9afbdd OPENJPA-539 Can't create a table with a field of java type "Map" in Derby
commit patch for Fay Wang. 
testcases have been modified.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@639746 13f79535-47bb-0310-9956-ffa450edef68
2008-03-21 18:23:19 +00:00
Michael Dick 831bd55051 OPENJPA-528 committing patch provided by Jeremy Bauer
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@639681 13f79535-47bb-0310-9956-ffa450edef68
2008-03-21 15:48:30 +00:00
Patrick Linskey 4bed57d778 Added license header.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@636531 13f79535-47bb-0310-9956-ffa450edef68
2008-03-12 22:01:23 +00:00
Patrick Linskey 282c8e0c5b Improve product derivation debugging; add test case.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@636052 13f79535-47bb-0310-9956-ffa450edef68
2008-03-11 18:29:19 +00:00
Patrick Linskey 85c7a33365 OPENJPA-521. License headers.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633950 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 17:59:15 +00:00
Patrick Linskey f3dd4c0397 OPENJPA-521. Committing on behalf of Qin Feng.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633738 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 01:12:19 +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
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
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 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
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
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
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
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 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
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
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
David Ezzio 2a3ee08d92 Corrected (I hope) the DOS line endings
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@619009 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 15:02:40 +00:00
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