Commit Graph

339 Commits

Author SHA1 Message Date
A. Abram White 3f3ab4a543 Bugfix for multiple insert,delete,query cycles of the same id in the same
transaction.



git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@656796 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 19:18:27 +00:00
Patrick Linskey b56f30427f OPENJPA-589. Added license headers.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@655655 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 21:32:08 +00:00
Patrick Linskey a927500b5e OPENJPA-589. Porting patch from trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@655617 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 19:43:57 +00:00
Patrick Linskey 51950e7d49 OPENJPA-591. Porting Mike's work to 1.1.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@655595 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 18:41:33 +00:00
Patrick Linskey 07d65dcfa4 OPENJPA-231. Adding license headers.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@655592 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 18:32:30 +00:00
Patrick Linskey 813d37d743 OPENJPA-130. Committing on behalf of Ignacio Andreu.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@655581 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 17:59:27 +00:00
Patrick Linskey d90a7c7a6e OPENJPA-231. Committing on behalf of Qin Feng.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@655354 13f79535-47bb-0310-9956-ffa450edef68
2008-05-11 18:39:57 +00:00
Catalina Wei ee170672b1 OPENJPA-573 JPQL: The combination LIKE ESCAPE does not accept parameters
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@653176 13f79535-47bb-0310-9956-ffa450edef68
2008-05-04 03:26:24 +00:00
Patrick Linskey 705144dfea OPENJPA-130. Committing on behalf of Ignacio Andreu.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@653008 13f79535-47bb-0310-9956-ffa450edef68
2008-05-03 06:30:27 +00:00
Patrick Linskey 3ac1f08072 OPENJPA-392. Fixing a new manifestation of this bug introduced by a BEA contribution.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@652521 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 13:49:07 +00:00
Patrick Linskey 83190655e5 OPENJPA-522
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@652026 13f79535-47bb-0310-9956-ffa450edef68
2008-04-27 23:12:10 +00:00
Patrick Linskey 44e06d03a3 OPENJPA-536. Committing on behalf of Amy Yang.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@650559 13f79535-47bb-0310-9956-ffa450edef68
2008-04-22 15:46:58 +00:00
Patrick Linskey e070152012 OPENJPA-536 -- temporarily disabling earlier fix to this issue as it is causing integration problems. A more complete fix will be forthcoming.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@647033 13f79535-47bb-0310-9956-ffa450edef68
2008-04-11 02:37:43 +00:00
Catalina Wei b3f919b1cc OPENJPA-547 add test strings for FETCH JOINs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@647026 13f79535-47bb-0310-9956-ffa450edef68
2008-04-11 01:08:29 +00:00
Albert Lee b4fda6a917 OPENJPA-565 - Add test case.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@646595 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 23:27:55 +00:00
A. Abram White 7cece296b3 More efficient fix for OPENJPA-245.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@646082 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 21:29:19 +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