Commit Graph

3946 Commits

Author SHA1 Message Date
Michael Dick 3bf5a1a252 [maven-release-plugin] prepare branch 2.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1040582 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 15:31:53 +00:00
Michael Dick 9377aa5ce5 minor formatting for openbooks pom.xml
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1040578 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 15:26:25 +00:00
Fay Wang 2ef2640092 OPENJPA-1893: The test case exposes a reserved-word column name problem for Oracle and Sybase with SchemaAction='drop,add'
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1040350 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 00:02:46 +00:00
Michael Dick f56cba9777 fixing compiler warnings and minor code reformatting for QueryResultMapping
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1040332 13f79535-47bb-0310-9956-ffa450edef68
2010-11-29 22:57:25 +00:00
Fay Wang 4a5f766a0c OPENJPA-1890: attach a test case
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1040230 13f79535-47bb-0310-9956-ffa450edef68
2010-11-29 19:05:27 +00:00
Michael Dick f4cbe39a60 allow setSecurityManager() to be called by testcases
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1040224 13f79535-47bb-0310-9956-ffa450edef68
2010-11-29 18:57:07 +00:00
Milosz Tylenda 685ddfecc6 OPENJPA-1863: Update HSQLDictionary for HSQLDB 2.0 - pagination and schema support.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1039879 13f79535-47bb-0310-9956-ffa450edef68
2010-11-28 13:18:41 +00:00
Albert Lee 2700d1681d OPENJPA-1895 add doPriv to setAccessible call.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1039414 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 15:27:56 +00:00
Albert Lee f4b14e18b7 OPENJPA-1895 add doPriv to setAccessible call.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1039246 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 03:55:51 +00:00
Michael Dick ae3f3af9db Revert to version 2.5 of the surefire plugin - seems to improve memory use
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1038342 13f79535-47bb-0310-9956-ffa450edef68
2010-11-23 21:00:29 +00:00
Michael Dick a0907bfc3f OPENJPA-1897: Add all reserved words to invalid column name set
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1038214 13f79535-47bb-0310-9956-ffa450edef68
2010-11-23 17:29:32 +00:00
Michael Dick f916b8a89f OPENJPA-1893: setting eol-style
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1038158 13f79535-47bb-0310-9956-ffa450edef68
2010-11-23 15:16:17 +00:00
Michael Dick 9938641b1f remove deprecation warning from build
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1038109 13f79535-47bb-0310-9956-ffa450edef68
2010-11-23 13:41:16 +00:00
Fay Wang d12209163e OPENJPA-1893: handle more than one join-column tag inside collection-table tag
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1037899 13f79535-47bb-0310-9956-ffa450edef68
2010-11-22 21:47:18 +00:00
Richard G. Curtis 06f8dc4c96 OPENJPA-1895: Minor performance improvement.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1037873 13f79535-47bb-0310-9956-ffa450edef68
2010-11-22 20:44:49 +00:00
Michael Dick 406710b477 OPENJPA-1888: Add generics to ManagedCache and AbstractStoreManager.
Submitted By: Guy Korland

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1037844 13f79535-47bb-0310-9956-ffa450edef68
2010-11-22 19:18:16 +00:00
Michael Dick f0ddf938df OPENJPA-1885: rename new method to persistInternal and some code formatting changes
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1037827 13f79535-47bb-0310-9956-ffa450edef68
2010-11-22 18:41:03 +00:00
Fay Wang 7178dd3f00 OPENJPA-1894: reduce the number of Strings created by SelectImpl.getTableIndex
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1037819 13f79535-47bb-0310-9956-ffa450edef68
2010-11-22 18:23:34 +00:00
Michael Dick 2009b5c016 OPENJPA-1885: refactor persistAll in BrokerImpl.
Submitted By: Guy Korland

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1037237 13f79535-47bb-0310-9956-ffa450edef68
2010-11-20 15:18:01 +00:00
Richard G. Curtis 8cfea1bd5f OPENJPA-1866: Add missing break to AnnotationPersistenceMetaDataSerializer. Patch contributed by Guy Korland.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1037006 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19 20:21:20 +00:00
Richard G. Curtis 73cd301520 OPENJPA-1892: Fix NPE in DataCacheStoreManager.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1036988 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19 19:48:49 +00:00
Michael Dick 24e17363ef Move jest tests to sandbox
A    https://svn.apache.org/repos/asf/openjpa/sandboxes/jest/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jest/jest
D    https://svn.apache.org/repos/asf/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jest




git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1036721 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19 02:55:45 +00:00
Pinaki Poddar 559c43468a OPENJPA-1859: Add few encoding tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1036673 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18 23:06:23 +00:00
Fay Wang dcaa2177c6 OPENJPA-1890: fix NPE when an embeddable is set to a managed entity more than once
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1036244 13f79535-47bb-0310-9956-ffa450edef68
2010-11-17 21:55:21 +00:00
Pinaki Poddar ea5db0fbb3 OPENJPA-1889: Relax binding query parameter type checks for enums
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1035884 13f79535-47bb-0310-9956-ffa450edef68
2010-11-17 00:38:17 +00:00
Richard G. Curtis 98ebca2fe7 OPENJPA-1886: Remove query parameters when tracing.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1035834 13f79535-47bb-0310-9956-ffa450edef68
2010-11-16 22:12:18 +00:00
Milosz Tylenda d748e46040 OPENJPA-1863: Update HSQLDictionary for HSQLDB 2.0 - patch provided by Georgi Naplatanov with slight modifications.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1034728 13f79535-47bb-0310-9956-ffa450edef68
2010-11-13 10:56:47 +00:00
Richard G. Curtis ef9a49e883 OPENJPA-1844: Update javadoc for DataCacheInstrument.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1033705 13f79535-47bb-0310-9956-ffa450edef68
2010-11-10 20:56:30 +00:00
Richard G. Curtis c960f725cb OPENJPA-1882: Fix DataCacheStoreManager NPE.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1033637 13f79535-47bb-0310-9956-ffa450edef68
2010-11-10 18:34:35 +00:00
Kevin W. Sutter 5040a436e7 OPENJPA-1881. Creating a new "completion" trace message for the enhancement processing.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1033480 13f79535-47bb-0310-9956-ffa450edef68
2010-11-10 14:13:10 +00:00
Fay Wang 324ca8e894 OPENJPA-1762: fix test case problem
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1032791 13f79535-47bb-0310-9956-ffa450edef68
2010-11-09 00:06:04 +00:00
Fay Wang 0836fba158 OPENJPA-1762: lock join table when pessimistic scope is set to EXTENDED
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1032686 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 20:10:45 +00:00
Michael Dick 3c52abb73d OPENJPA-1877: Detect XMLType column for Oracle and treat as XML
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1032646 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 17:33:41 +00:00
Milosz Tylenda 0175a1a2e5 OPENJPA-1864: Fix the class comment.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1032321 13f79535-47bb-0310-9956-ffa450edef68
2010-11-07 17:28:54 +00:00
Milosz Tylenda 5d21297cb6 OPENJPA-1837: Revert the statement about XML column as the mentioned limitation does exist in that case.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1032316 13f79535-47bb-0310-9956-ffa450edef68
2010-11-07 17:21:35 +00:00
Fay Wang 4b19d0fa4a OPENJPA-1762: lock join table when extended pessimistic scope is used
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1032116 13f79535-47bb-0310-9956-ffa450edef68
2010-11-06 17:24:17 +00:00
Michael Dick 6d423c5b6b OPENJPA-1874: handle Oracle XMLType columns with @Lob annotation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1031648 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 15:57:26 +00:00
Fay Wang ad98d444e1 OPENJPA-1810: make QueryKey distinguishable for CriteriaQuery
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1031244 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 21:03:23 +00:00
Michael Dick a09a2b5856 OPENJPA-1870 OPENJPA-740: adding testcase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1031240 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 20:58:09 +00:00
Donald Woods 33c8d872b4 another attempt to fix the intermitent datacache test failures as the persist() is taking 1.2 secs on some test machines
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1031116 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 18:10:00 +00:00
Richard G. Curtis 531381429d OPENJPA-1872: Optimize CacheMap get(..) for non-pinned usage.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1031110 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 17:58:09 +00:00
Michael Dick f946f8383b OPENJPA-1870: Check if columnDefinition was provided before overriding blob type.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1031109 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 17:58:00 +00:00
Donald Woods 829334021c another attempt to fix the intermitent datacache test failures
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1031090 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 17:28:31 +00:00
Michael Dick 2e1e015dee OPENJPA-1864: Adding documentation for MaxDB Dictionary (includes new section for user reported databases which we haven't verified).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1031050 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 16:00:12 +00:00
Richard G. Curtis c5748ffde1 OPENJPA-1871: Fix FindBugs reported performance problem in XMLMetaDataSerializer. Patch contributed by Guy Korland.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030932 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 13:17:10 +00:00
Richard G. Curtis 3731ab8f23 Update openjpa.AutoDetach default values.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030640 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03 20:09:15 +00:00
Michael Dick 24e547cdcb OPENJPA-1864: Add db dictionary for MaxDB & alias in JDBCConfImpl.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030579 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03 18:07:07 +00:00
Dianne E. Richards c6d23cdb08 OPENJPA-1862 Enable test to run correctly on DB2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030495 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03 15:19:29 +00:00
Richard G. Curtis a70b134576 OPENJPA-1851: Backing changes out of trunk while we continue to develop this feature in a sandbox.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030492 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03 15:11:15 +00:00
Richard G. Curtis 36ed1fe1be OPENJPA-1851: Backing changes out of trunk while we continue to develop this feature in a sandbox.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030481 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03 14:59:47 +00:00