Commit Graph

4492 Commits

Author SHA1 Message Date
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
Michael Dick d5e20c4a11 OPENJPA-1981: check whether connection is open before calling close
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1092309 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 14:52:20 +00:00
Milosz Tylenda 7afa8754f7 OPENJPA-1932: Documentation update: Correct outdated links to Javadocs.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1091567 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 20:26:07 +00:00
Michael Dick d20b9a9511 OPENJPA-1934: Cleanup compiler warnings.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1091279 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 03:17:16 +00:00
Michael Dick 8544f5da4a OPENJPA-1975: add testcase for ConnectedConfiguration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1091124 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 16:56:01 +00:00
Milosz Tylenda 82c79adab1 OPENJPA-1932: Documentation update: Correct broken and outdated links.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1090746 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 07:51:33 +00:00
Milosz Tylenda 8c68768917 OPENJPA-1932: Documentation update: remove Java 5 references, improve formatting and wording, point out that getSupportedProperties is an OpenJPA extension (no longer in the JPA 2.0 spec), remove link to criteria API draft (criteria API is in the final 2.0 spec).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1090649 13f79535-47bb-0310-9956-ffa450edef68
2011-04-09 19:02:33 +00:00
Michael Dick e35178f645 OPENJPA-1934: Add a maven plugin for PCEnhancement.
Submitted By: Mark Struberg, Rahul Thankar

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1090086 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 01:59:02 +00:00
Michael Dick 985a59afbd OPENJPA-1975: Move default schema name code to its own method.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1090025 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 21:28:32 +00:00
Richard G. Curtis 2d232cf4c0 OPENJPA-1974: Fix StackOverflow in SelectImpl.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1089124 13f79535-47bb-0310-9956-ffa450edef68
2011-04-05 16:35:56 +00:00
Milosz Tylenda d470141828 OPENJPA-1932: Documentation update: Add missing example titles, fix typos.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1088391 13f79535-47bb-0310-9956-ffa450edef68
2011-04-03 19:58:03 +00:00
Albert Lee 03d4f2f8b6 OPENJPA-1972 Update test and adapt to DB2 9.7 behavior changes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1087429 13f79535-47bb-0310-9956-ffa450edef68
2011-03-31 20:13:17 +00:00
Albert Lee 20b66ce0df OPENJPA-1969 Document "Known Issues.." on DataDirect limitation on precision loss during prepared statement setTimestamp method call.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1087074 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 21:09:37 +00:00
Jeremy Bauer e6b590d73d OPENJPA-1966 Updated attach strategies to query attach cache before going to the broker for entity references. Prevents merging in a detached entity that is being used for field attachment.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1087054 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 19:32:41 +00:00
Albert Lee fd197214a9 OPENJPA-1969 - Decode HYT00 to LockTimeoutException
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1087028 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 17:58:32 +00:00
Milosz Tylenda 1f139e4013 OPENJPA-1932: Documentation update: remove Java 5 references (OpenJPA requires Java 6), remove sjvm setting from examples (no longer needed), improve formatting (we should remember to use literal/classname tags), fix typos.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1086719 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 20:19:30 +00:00
Albert Lee f10e349f7c OPENJPA-1968 Set DATETIME2 based on db version and also set the correct date_precision for DATETIME2 type.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1086639 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 16:38:59 +00:00
Milosz Tylenda 59c9ec99af OPENJPA-1932: Documentation update: remove non-existing oracle option from savepoint managers, fix typos, improve letter case.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1086408 13f79535-47bb-0310-9956-ffa450edef68
2011-03-28 21:24:30 +00:00
Pinaki Poddar f1c1c78787 OPENJPA-1662: Save a runtime typecast.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1084944 13f79535-47bb-0310-9956-ffa450edef68
2011-03-24 13:14:33 +00:00
Richard G. Curtis 9b5fa5152a OPENJPA-1960: Allow openjpa.InitializeEagerly to be used with BV.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1084349 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 20:50:21 +00:00
Kevin W. Sutter 8464dc4d1d Another minor comment update in the ImageValidator sample...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1084294 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 18:46:49 +00:00
Richard G. Curtis 056e9d8720 Update svn:ignore props for openjpa-jest.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1084281 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 18:25:48 +00:00