Commit Graph

379 Commits

Author SHA1 Message Date
Ravi Prakash Palacherla e7f0d55411 OPENJPA-2066. Modified testcase to remove unnecessary debugging and replaced java assert statement with junit assert call
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@1189332 13f79535-47bb-0310-9956-ffa450edef68
2011-10-26 17:33:00 +00:00
Ravi Prakash Palacherla 241e01427a OPENJPA-2066 Edge case in openJPA-1227. openJPA fails to create a join and thus returns wrong data when a collection is selected from superclass and another field is selected from subclass two or more levels down the hierarchy
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@1189317 13f79535-47bb-0310-9956-ffa450edef68
2011-10-26 17:08:27 +00:00
Ravi Prakash Palacherla e051dbd764 OPENJPA-1227 SQL generation error when using data cache. Backporting David Minor's changes to 1.1.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@1172209 13f79535-47bb-0310-9956-ffa450edef68
2011-09-18 07:32:13 +00:00
Ravi Prakash Palacherla 10a1d43a1c OPENJPA-677: Make a judgement whether reading discrimnator value from the result makes sense in a context. Bakporting Pinaki's fix to 1.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@1172200 13f79535-47bb-0310-9956-ffa450edef68
2011-09-18 05:34:46 +00:00
Ravi Prakash Palacherla cbeb98fd36 OPENJPA-864 do not remove table aliases for databases which use JoinSyntaxes.SYNTAX_DATABASE (no joins). Merging Mike's change to 1.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@1172166 13f79535-47bb-0310-9956-ffa450edef68
2011-09-18 01:22:17 +00:00
Ravi Prakash Palacherla 92d5092ebc OPENJPA-1765: Add locking to TableJDBCSeq to ensure thread safety. Merging Rick Curtis change to 1.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@1172159 13f79535-47bb-0310-9956-ffa450edef68
2011-09-18 00:25:51 +00:00
Ravi Prakash Palacherla 779537360b OPENJPA-733: Updated state manager to use actual oid instead of owner oid. Merging Jeremy's change to 1.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@1171949 13f79535-47bb-0310-9956-ffa450edef68
2011-09-17 11:27:11 +00:00
Ravi Prakash Palacherla 0358af0198 OPENJPA-209 Detect identical instances being added to L1 cache multiple times during a load session. Applying Pinaki poddar's patch to 1.1.x branch.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@1171939 13f79535-47bb-0310-9956-ffa450edef68
2011-09-17 10:20:06 +00:00
Ravi Prakash Palacherla 23521ca205 OPENJPA-1970 CPU spinning forever at TreeMap.get in Schema.java
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@1087361 13f79535-47bb-0310-9956-ffa450edef68
2011-03-31 16:22:11 +00:00
David Ezzio 3597aff75e Reverting revisions 930357 and 930378 (except for the line ending changes). These changes were premature.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@965591 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 19:20:12 +00:00
David Ezzio 2516f52291 OpenJPA-1610: Added XMLVersionParser from trunk and logic in PersistenceProductDerivation to use it. This allows OpenJPA 1.1.x to play well with JPA 2.0 providers by accepting that it cannot service any persistence unit that uses a persistence.xml whose version is not "1.0".
Also altered POMs to decline external and dated Xerces parser dependency and use instead the Xerces parser of the JDK for the OpenJPA test cases.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@957329 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 20:23:28 +00:00
Ravi Prakash Palacherla e14849f32a OPENJPA-1695 OutOfMemoryError from CacheMarshallerImpl.setInputUrlFromResourceLocation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@954993 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 18:15:59 +00:00
Ravi Prakash Palacherla 961226b2b3 OpenJPA-647 Applying Pinaki Poddar's trunk patch to 1.1.x branch. PObject.java is added as part of 1.1.x branch as it is used by TestDynamicConfiguration and is new to 1.1.x branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@939817 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 21:07:22 +00:00
Ravi Prakash Palacherla a047d9c8be OpenJPA-466 Applied B.J. Reed's 1.2.x patch to 1.1.x batch.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@939783 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 19:07:58 +00:00
David Ezzio e6104b82b9 OpenJPA-1610: Changed two methods (one name change, one signature change) to allow applications using OpenJPA 1.x to run with the JPA 2.0 jar on the classpath after recompiling the applications and correcting any use of the two methods that have changed.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@930357 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 19:38:58 +00:00
David Ezzio e910221a63 OpenJPA-1407: Applied Ravi Palacherla's patch. Added numerous comments to the code. Made DataCacheStoreManager EOL native.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@891341 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 17:34:43 +00:00
David Ezzio f45f521d3f OpenJPA-1260: Applied Ravi Palacherla's patch. Also changed BrokerImpl EOL to native.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@890402 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 16:55:04 +00:00
David Ezzio f51b382625 OpenJPA-1200: Applied patch supplied by Ravi Palacherla. Also changed EOL to native for modified files JDBCStoreManager and Compatibility.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@889871 13f79535-47bb-0310-9956-ffa450edef68
2009-12-12 00:50:58 +00:00
David Ezzio db51ed9ea5 OpenJPA-817: Applied Ravi Palacherla's patch to 1.1.x branch. Also made ConstraintUpdateManager's EOL native.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@889793 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 20:06:18 +00:00
David Ezzio f99183d7fe OpenJPA-681: Applied patch by Hiroki Tateno and Ravi Palacherla. Also converted TestSubquery.java to native EOL.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@889673 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 16:08:19 +00:00
David Ezzio 096085db9a OpenJPA-386: Patch submitted by Jody Grassel
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@889476 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 00:06:21 +00:00
David Ezzio dbf69ac79d OpenJPA-525: Applied Amy's patch OPENJPA-525-3-branch1.1.x.patch . Also merged revision 79066 at trunk that renamed misnamed test classes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@807362 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 20:18:38 +00:00
David Ezzio ab553c7541 OpenJPA-1174: merged fix from trunk, rev 799754, "OpenJPA performs differently with orm.xml and annotations"
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@802838 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 15:55:49 +00:00
David Ezzio 01510c08ee OpenJPA-935: Merged fix from trunk, rev 746640: "Removing entities with Embedded field issue multiple delete statements"
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@802837 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 15:52:12 +00:00
David Ezzio 3975747bf5 OpenJPA-1163: merged fix from trunk, revs 800563 and 800566: "Data consistency issues while modifying collections"
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@802218 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 21:36:02 +00:00
David Ezzio 55c8daf475 OpenJPA-1133: merged fix from trunk rev 785268, "DBDictionary.getPlaceholderValueString returns 0 for boolean which fails in PostgreSQL database"
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@802214 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 21:33:07 +00:00
David Ezzio f216078d82 OpenJPA-1133, merged change to test framework, from trunk, rev 658197
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@802213 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 21:32:16 +00:00
David Ezzio a18b600465 OpenJPA-1006: merged fix from trunk rev 765801: "Disabling QueryCaching at runtime does not work"
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@802203 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 21:26:02 +00:00
David Ezzio 0a4715be80 OpenJPA-51: merged fix from trunk revs 676467,676787: "bad sql pushdown, sub select is missing from clause"
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@802200 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 21:21:45 +00:00
David Ezzio 5781d27887 OpenJPA-235: merged fix from trunk 673258, "SQL reordering to avoid non-nullable foreign key constraint violations"
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@802195 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 21:15:47 +00:00
David Ezzio eb934b2ae7 OpenJPA-1002: Merged change 769505 from trunk. Fix for range query with Oracle.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@793096 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 20:09:35 +00:00
David Ezzio 9ef31c4ab6 Fix for OpenJPA-525: committed for Amy Yang, from 1.1.x patch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@786218 13f79535-47bb-0310-9956-ffa450edef68
2009-06-18 19:31:41 +00:00
David Ezzio 1a02ca08b0 Fixed typo
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@726876 13f79535-47bb-0310-9956-ffa450edef68
2008-12-15 23:41:08 +00:00
David Ezzio 67c4d743cf Completed the adaption of this test case for OpenJPA (real work done by Amy Yang)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@726868 13f79535-47bb-0310-9956-ffa450edef68
2008-12-15 23:01:01 +00:00
David Ezzio ed7fb94e99 Renamed prior to enabling this test case for the build
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@726860 13f79535-47bb-0310-9956-ffa450edef68
2008-12-15 22:31:34 +00:00
Srinivasa Segu d55743b84f OPENJPA-678, OPENJPA-680, OPENJPA-722 - Merge back from trunk
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@719479 13f79535-47bb-0310-9956-ffa450edef68
2008-11-21 05:03:29 +00:00
Srinivasa Segu d40da7c809 OPENJPA-485 - backport test changes from trunk
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@719463 13f79535-47bb-0310-9956-ffa450edef68
2008-11-21 03:52:27 +00:00
A. Abram White e245a5c51d Merge 692601 from 0.9.7 to 1.1.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@713837 13f79535-47bb-0310-9956-ffa450edef68
2008-11-13 21:58:14 +00:00
A. Abram White 59c518effd Merge 692307 from 0.9.7 to 1.1.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@713829 13f79535-47bb-0310-9956-ffa450edef68
2008-11-13 21:31:48 +00:00
Patrick Linskey 347405c87e incrementing version number in 1.1.x branch to 1.1.1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@659893 13f79535-47bb-0310-9956-ffa450edef68
2008-05-25 02:20:25 +00:00
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