Commit Graph

4223 Commits

Author SHA1 Message Date
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
Richard G. Curtis 7eb317e488 OPENJPA-1928: Fix @Factory method resolution when name is ambiguous. Patch contributed by Edward Sargisson.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1084280 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 18:23:28 +00:00
Richard G. Curtis 2cfb4f6232 OPENJPA-1944: Properly handle a null version field.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1084265 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 17:41:58 +00:00
Milosz Tylenda f6e05d0852 OPENJPA-1932: Documentation update - copyright year and version, wording corrections.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1083273 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 20:03:53 +00:00
Milosz Tylenda 0b72fb417a OPENJPA-478: Get rid of contradictory text about HAVING without GROUP BY in user guide.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1083258 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 19:36:05 +00:00
Jeremy Bauer 0971bd301c OPENJPA-1787 Fixed VLEM hasUpdateListeners & hasPersistListeners methods and added additional validation test cases.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1082259 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 18:48:11 +00:00
Milosz Tylenda 621c52065e OPENJPA-1376: Add a test for new allocationSize behavior, make test take advantage of setTestsDisabled method.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1081067 13f79535-47bb-0310-9956-ffa450edef68
2011-03-13 09:54:15 +00:00
Michael Dick d3d944ccd2 OPENJPA-1959: make runtime exception translator transient
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1080978 13f79535-47bb-0310-9956-ffa450edef68
2011-03-12 19:05:55 +00:00
Michael Dick 7d0de515a5 use generics, remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1080955 13f79535-47bb-0310-9956-ffa450edef68
2011-03-12 17:38:43 +00:00
Michael Dick c87edf8049 OPENJPA-1958: handle index out of bounds condition.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1080948 13f79535-47bb-0310-9956-ffa450edef68
2011-03-12 17:04:36 +00:00
Michael Dick 6309bff2f0 OPENJPA-1787: setting eol-style (nit)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1080789 13f79535-47bb-0310-9956-ffa450edef68
2011-03-11 23:09:21 +00:00
Jeremy Bauer 6fdcebd673 OPENJPA-1787 Updated "new entity" merge path through AttachManager and BrokerImpl to refrain from firing a pre-persist event before the state of the merged entity is copied to the new entity. Test cases based upon code provided by Oliver Ringel.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1080751 13f79535-47bb-0310-9956-ffa450edef68
2011-03-11 20:29:50 +00:00
Michael Dick 2dbbe70692 OPENJPA-1957: treat non element collection like normal serializable types
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1079978 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 20:32:59 +00:00
Milosz Tylenda 0022b991ab OPENJPA-1376: Correctly handle the case when sequence increment is > 1.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1078811 13f79535-47bb-0310-9956-ffa450edef68
2011-03-07 15:30:25 +00:00
Milosz Tylenda 1d889e3e50 OPENJPA-1376: Documentation update related to allocationSize property of @SequenceGenerator.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1078777 13f79535-47bb-0310-9956-ffa450edef68
2011-03-07 14:02:33 +00:00
Milosz Tylenda 2e0d69141f OPENJPA-1376: Documentation update - add migration section on allocationSize property of @SequenceGenerator.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1078761 13f79535-47bb-0310-9956-ffa450edef68
2011-03-07 12:33:59 +00:00
Michael Dick 1cfbf9d171 increase retries and sleep time for intermittently failing testcase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1077978 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 14:48:39 +00:00
Michael Dick 2027274a07 increase timeout for tck
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1077976 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 14:45:39 +00:00
Michael Dick e6421a4118 OPENJPA-1954: add license header
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1076388 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 21:20:11 +00:00
Richard G. Curtis 887f8977ed OPENJPA-1954: Fix ArrayIndexOutOfBoundsException when querying on a version field that is in a MappedSuperclass.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1076370 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 20:57:03 +00:00