Commit Graph

4363 Commits

Author SHA1 Message Date
Michael Dick a7778ff6a9 Use clear tables with TestOrderColumn
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1135600 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 14:24:41 +00:00
Pinaki Poddar 0046a656c9 Print configuration array values properly
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1135320 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 22:17:40 +00:00
Michael Dick be88506438 Add order by clause for TestOrderColumn which was failing on Sybase. Also cleaned up asserts and removed DROP_TABLES
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1135273 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 20:50:24 +00:00
Richard G. Curtis cc3c3eb055 OPENJPA-2014: Allow proxies to stay in place when using LiteAutoDetach.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1134726 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 19:00:01 +00:00
Heath Thomann e9dd20c9e9 OPENJPA-1999: Optional support for non-sequential positional parameters - made additional changes, per Mike Dick, to QueryImpl ctor.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1134463 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 22:20:41 +00:00
Heath Thomann cabf34a6fd OPENJPA-1999: Optional support for non-sequential positional parameters - used Rick's provided patch for trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1134128 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 23:16:09 +00:00
Michael Dick b9e61a8923 OPENJPA-2013: Add TEXT to the fixed size type list for Derby and HSQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1133904 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 14:55:25 +00:00
Michael Dick 8ef3f3db35 OPENJPA-2011: Optionally prevent reparsing annotations in in query mode.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1133900 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 14:49:11 +00:00
Pinaki Poddar 0de12ed492 OPENJPA-2012: Support in-memory MIN()/MAX() on non-numeric types
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1133605 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 23:50:30 +00:00
Pinaki Poddar 14816f465b Add code comments
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1133602 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 23:37:58 +00:00
Pinaki Poddar 5cceefda8e OPENJPA-1050: Use generics wherever possible
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1133601 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 23:36:45 +00:00
Michael Dick 0bcded74e1 OPENJPA-2010: Check line number and source file before logging duplicate meta data warning
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1133546 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 20:19:03 +00:00
Michael Dick 43b545eca4 OPENJPA-1725: Add documentation.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1133516 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 19:17:42 +00:00
Kevin W. Sutter 511fbec886 Minor update to find the code in the right place...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1133403 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 13:56:03 +00:00
Jeremy Bauer b6f39e246d OPENJPA-2007 Replace mistakenly removed assertion
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1128008 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 17:57:27 +00:00
Jeremy Bauer 50bfa5d261 OPENJPA-2007 jUnit for fetch plan isolation query hint validation.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1128005 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 17:52:23 +00:00
Michael Dick dcf90c68eb OPENJPA-2005: check for unexpected (null) sequence names in PostgresDictionary
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1127898 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 13:28:00 +00:00
Jeremy Bauer 7b0d1140ac OPENJPA-2007 Updated supported hint set to include correct name for fetch plan level isolation hint.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1127690 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 21:26:26 +00:00
Jeremy Bauer 81c46c503f OPENJPA-2006 If flushing, also pre-flush non-provisional entities to allow sequence ID population.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1127573 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 16:11:47 +00:00
Mark Struberg 350ed99379 add Intellij Idea artifacts to ignore rules
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1103328 13f79535-47bb-0310-9956-ffa450edef68
2011-05-15 11:34:15 +00:00
Richard G. Curtis 258cf99784 OPENJPA-1987: Do not use null table for getImportedKeys in Ingres dictionary.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1102784 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 15:09:23 +00:00
Jody Grassel 64bd51ea04 OPENJPA-1996: OpenJPA Samples fail on MacOS X
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1101989 13f79535-47bb-0310-9956-ffa450edef68
2011-05-11 17:24:01 +00:00
Richard G. Curtis 862e818e50 OPENJPA-1989: Flip FeildMetaData.DefaultFetchGroupExplicit flag when parsing ToOne xml relationships.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1101951 13f79535-47bb-0310-9956-ffa450edef68
2011-05-11 16:19:04 +00:00
Michael Dick aa88b32b06 OPENJPA-1725: make old behavior optional
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1101519 13f79535-47bb-0310-9956-ffa450edef68
2011-05-10 16:00:44 +00:00
Michael Dick 1125b86310 OPENJPA-1725: cleanup comments
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1101474 13f79535-47bb-0310-9956-ffa450edef68
2011-05-10 14:32:20 +00:00
Michael Dick 1148ba809d OPENJPA-1995: detect mixed parameter types in JPQL query
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1101289 13f79535-47bb-0310-9956-ffa450edef68
2011-05-10 02:42:30 +00:00
Michael Dick c159730005 OPENJPA-1725: Ignore schema when checking the length of a table name
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1101243 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 22:09:40 +00:00
Michael Dick 26aa776627 OPENJPA-1992: Throw exception if a JPQL query is missing the first positional parameter
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1100787 13f79535-47bb-0310-9956-ffa450edef68
2011-05-08 18:39:07 +00:00
Jody Grassel 6fc7d55a09 OPENJPA-1993: Deadlock Potential with XML ORM Processing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1100363 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 20:22:23 +00:00
Michael Dick c00af8d5e8 Remove @AllowFailure in passing testcase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1099900 13f79535-47bb-0310-9956-ffa450edef68
2011-05-05 18:02:18 +00:00
Michael Dick 849a77b5d3 OPENJPA-1994: Add index to reserved words for MySQLDictionary
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1099899 13f79535-47bb-0310-9956-ffa450edef68
2011-05-05 18:01:54 +00:00
Richard G. Curtis f9c5a20200 OPENJPA-1990: Skip calling back to DB2 when an exception is encountered.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1097826 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 14:54:20 +00:00
Richard G. Curtis fb91730361 Fix test.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1097536 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 16:30:11 +00:00
Richard G. Curtis d450910b0a OPENJPA-1989: Fix *ToOne xml fetch attribute to honor LAZY.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1097517 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 16:00:58 +00:00
Michael Dick b6ddcab383 OPENJPA-1987: do not use null table for getImportedKeys in postgres dictionary
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1097465 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 14:06:41 +00:00
Richard G. Curtis 1b8ce008b2 OPENJPA-1986: Avoid querying the db when cascading a persist to a new instance.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1097209 13f79535-47bb-0310-9956-ffa450edef68
2011-04-27 19:16:36 +00:00
Michael Dick 69fd9dbad9 OPENJPA-1985: Check for abstime as a timestamp type for Postgres
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1097160 13f79535-47bb-0310-9956-ffa450edef68
2011-04-27 16:00:37 +00:00
Pinaki Poddar bb50bc3caf Reduce verbosity of missing canonical meta-classes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1096937 13f79535-47bb-0310-9956-ffa450edef68
2011-04-26 22:39:12 +00:00
Michael Dick 76552a11fd remove casts for broker factory aliases
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1096876 13f79535-47bb-0310-9956-ffa450edef68
2011-04-26 19:54:27 +00:00
Albert Lee 9ea0354f1b OPENJPA-1984 - Skip non-root object validation when performing remove(root object). Let's validation provider to perform root object validation so that the contraint violation can report the correct root bean.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1096791 13f79535-47bb-0310-9956-ffa450edef68
2011-04-26 16:00:52 +00:00
Milosz Tylenda d1d356c151 OPENJPA-1932: Documentation update: Add information about other lock-related methods to the entity locking section.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1096425 13f79535-47bb-0310-9956-ffa450edef68
2011-04-25 07:49:27 +00:00
Richard G. Curtis 045818b05d OPENJPA-1983: Change test Entities to work on Oracle.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1095805 13f79535-47bb-0310-9956-ffa450edef68
2011-04-21 20:21:35 +00:00
Richard G. Curtis 354eb3078e OPENJPA-1983: Don't cascade to an unloaded field when merge is called on a managed Entity.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1095401 13f79535-47bb-0310-9956-ffa450edef68
2011-04-20 13:27:56 +00:00
Milosz Tylenda 77b7ced1d5 OPENJPA-1932: Documentation update: Extract entity locking to a new section and add missing lock modes defined in JPA 2.0.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1095186 13f79535-47bb-0310-9956-ffa450edef68
2011-04-19 20:07:05 +00:00
Milosz Tylenda c2b3e11a78 OPENJPA-1932: Documentation update: Update links to Java Logging Overview and jconsole.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1094122 13f79535-47bb-0310-9956-ffa450edef68
2011-04-17 09:27:31 +00:00
Milosz Tylenda a997e75ecd OPENJPA-1932: Documentation update: Change JSE 6 Javadoc base URL from http://java.sun.com/javase/6/docs/api/ to http://download.oracle.com/javase/6/docs/api/.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1093971 13f79535-47bb-0310-9956-ffa450edef68
2011-04-16 11:48:01 +00:00
Milosz Tylenda 9223144782 OPENJPA-1932: Documentation update: Change JEE 6 Javadoc base URL from http://java.sun.com/javaee/6/docs/api/ to http://download.oracle.com/javaee/6/api/.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1093968 13f79535-47bb-0310-9956-ffa450edef68
2011-04-16 11:40:24 +00:00
Milosz Tylenda a582e60afb OPENJPA-1932: Documentation update: Upgrade TransactionManager JEE 3 Javadoc link to JEE 6 (2nd attempt).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1093967 13f79535-47bb-0310-9956-ffa450edef68
2011-04-16 11:24:05 +00:00
Milosz Tylenda b8e0b0d58b OPENJPA-1932: Documentation update: Upgrade TransactionManager JEE 3 Javadoc link to JEE 6.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1093966 13f79535-47bb-0310-9956-ffa450edef68
2011-04-16 11:20:58 +00:00
Milosz Tylenda 6b93af88a6 OPENJPA-1932: Documentation update: Upgrade JSE 5 Javadoc links to JSE 6 in Slice documentation.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1093964 13f79535-47bb-0310-9956-ffa450edef68
2011-04-16 11:06:11 +00:00