Commit Graph

389 Commits

Author SHA1 Message Date
Ravi Prakash Palacherla 4260267507 OPENJPA-1530 change TYPE to ENGINE in DDL for MySQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@1445923 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 21:04:05 +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 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 41112ad988 OPENJPA-241 Extra SQL on lazy CMR load. Applying FayWang's trunk patch on 1.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@1171927 13f79535-47bb-0310-9956-ffa450edef68
2011-09-17 08:26:22 +00:00
Ravi Prakash Palacherla dd53444808 Try current classloader when loading DBDictionary. Applying B.J. Reed's patch to 1.1.x batch.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@1171918 13f79535-47bb-0310-9956-ffa450edef68
2011-09-17 06:26:59 +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
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 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 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 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 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 0254a883ee OpenJPA-1051: merged fix from trunk rev 774580: "Mappingtool doesn't check name conflicts if MappingDefaultsImpl is called with multiple columns"
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@802208 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 21:30: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 51f6385b71 Added additional test condition to testMatrix
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@784868 13f79535-47bb-0310-9956-ffa450edef68
2009-06-15 17:13:20 +00:00
David Ezzio b1a4ba0bea Merged changes from trunk for OpenJPA-580 and OpenJPA-760: DBDictionary.java 710180, 711726, and TestDictionaryFactory 711726, 757278.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@784867 13f79535-47bb-0310-9956-ffa450edef68
2009-06-15 17:11:39 +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 2b7e1d66b0 Forgot to remove some dead code.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@719304 13f79535-47bb-0310-9956-ffa450edef68
2008-11-20 17:37:11 +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 27d4f20521 Complete merge of 692529 from 0.9.7 to 1.1.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@713834 13f79535-47bb-0310-9956-ffa450edef68
2008-11-13 21:40:12 +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
A. Abram White 6ade5e9e35 Merge 690383 from 0.9.7 to 1.1.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@713822 13f79535-47bb-0310-9956-ffa450edef68
2008-11-13 21:02:33 +00:00
A. Abram White d0fca66128 Complete merge of 680579 from 0.9.7 to 1.1.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@713815 13f79535-47bb-0310-9956-ffa450edef68
2008-11-13 20:45:18 +00:00
A. Abram White dd171ca54b Don't turn off not-null on existing columns.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@711959 13f79535-47bb-0310-9956-ffa450edef68
2008-11-06 20:16:14 +00:00
A. Abram White 4ff176e797 Port fix from main line.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@711287 13f79535-47bb-0310-9956-ffa450edef68
2008-11-04 16:11:14 +00:00
A. Abram White bad86d848e Change default return value of AbstractVersionStrategy.checkVersion to
something that will force an update on refresh, but won't result in an
optimistic exception on flush.  This is a more appropriate default for
derived strategies that don't override cehckVersion (currently only the
NoneVersionStrategy of the builtins).  



git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@661090 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 21:19:47 +00:00
Patrick Linskey 194f59f02f OPENJPA-597. Committing on behalf of Sandeep Srivastava.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@655600 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 18:58:00 +00:00
Patrick Linskey 46720b6f02 OPENJPA-592. Oops, reverting earlier commit. I got my issue numbers mixed up.
If MySQL doesn't have a concept of a schema, I do not believe that we should necessarily try to emulate schemas.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@655587 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 18:21:28 +00:00
Patrick Linskey 5fcb3c01a0 OPENJPA-592. Committing on behalf of Jason Zheng.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@655586 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 18:16:10 +00:00
Patrick Linskey 1dde59cd79 OPENJPA-594. Applying Dinkar Rao's patch to the 1.1.x branch.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@655583 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 18:03:45 +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 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 148bb16613 OPENJPA-579, OPENJPA-585, OPENJPA-587, OPENJPA-588. Checking in on behalf of Sandeep Srivastava and Jason Zheng.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@652987 13f79535-47bb-0310-9956-ffa450edef68
2008-05-03 03:13:45 +00:00
Patrick Linskey cb555369c7 OPENJPA-567. Committing on behalf of Vikram Bhatia.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@651166 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 06:15:28 +00:00
Patrick Linskey 69e3633c49 OPENJPA-576. Committing on behalf of Sandeep Shrivastava.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@650684 13f79535-47bb-0310-9956-ffa450edef68
2008-04-22 22:45:49 +00:00
Patrick Linskey a6ffd14d02 OPENJPA-576. Reverting Sandeep's change pending an updated change from him.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@650633 13f79535-47bb-0310-9956-ffa450edef68
2008-04-22 20:09:28 +00:00
Patrick Linskey bf6da0b5fe OPENJPA-576. Committing on behalf of Sandeep Srivastava.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@650607 13f79535-47bb-0310-9956-ffa450edef68
2008-04-22 18:42:43 +00:00
Patrick Linskey a657dda465 OPENJPA-577
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@650226 13f79535-47bb-0310-9956-ffa450edef68
2008-04-21 19:16:47 +00:00
Patrick Linskey 6cfe69e198 No JIRA issue. Resolved an issue manifested in internal test suites with selection of CLOB field types in some projection select cases.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@650217 13f79535-47bb-0310-9956-ffa450edef68
2008-04-21 18:32:09 +00:00
A. Abram White e5f31365e6 Submit patch for OPENJPA-564.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@647250 13f79535-47bb-0310-9956-ffa450edef68
2008-04-11 18:07:12 +00:00
Catalina Wei 61b785ca96 OPENJPA-547 INNER JOIN FETCH query incorrectly generates LEFT join SQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@646455 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 18:09:42 +00:00
A. Abram White 9c19356c7c Fix for OPENJPA-554.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@645589 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 16:18:26 +00:00