Commit Graph

1512 Commits

Author SHA1 Message Date
Richard G. Curtis cc1dcd9a4c OPENJPA-1847: Fix NPE in SchemaGenerator and formatting.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1063827 13f79535-47bb-0310-9956-ffa450edef68
2011-01-26 18:54:54 +00:00
Milosz Tylenda 987513f7ac OPENJPA-1876: Tests speed-up - do not shut Derby down at the end of each test.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1062964 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 20:43:57 +00:00
Pinaki Poddar 01c9608fe6 OPENJPA-1923: Remove restriction to enclose collection-valued query parameter in parentheses.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1060113 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 22:26:36 +00:00
Pinaki Poddar 28a0c0da86 OPENJPA-1923: Remove restriction to enclose collection-valued query parameter in parentheses. The commit ran tests locally and partially as my TeamCity agent is broken.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1060094 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 21:15:29 +00:00
Richard G. Curtis 04b1abb039 OPENJPA-1856: Make DataCache eviction due to bulk updates configurable.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1057315 13f79535-47bb-0310-9956-ffa450edef68
2011-01-10 19:03:21 +00:00
Michael Dick 7b97c4b91f OPENJPA-1909: Enhancing proxy entities separately with the appropriate configuration.
Submitted By: Mark Struberg

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1056354 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 15:29:31 +00:00
Richard G. Curtis 933da55ce5 OPENJPA-1915: Add missing license headers from OPENJPA-1911.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1055078 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 15:20:53 +00:00
Fay Wang c39cd993fa OPENJPA-1911: fix merge problem for entities with derived id
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1054717 13f79535-47bb-0310-9956-ffa450edef68
2011-01-03 19:32:03 +00:00
Richard G. Curtis caeb66ab25 OPENJPA-1896: Allow merging a StateManagerless Entity with a default primitive version.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1052025 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 18:41:09 +00:00
Richard G. Curtis b6024187ba OPENJPA-1900: Fix ClassCastException when serializing a proxy for an Entity that exists in an active persistence context. Patch contributed by Mark Struberg.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1050168 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 21:26:39 +00:00
Michael Dick 1ac8dd4058 OPENNJPA-1906 adding warning when connection retain mode is used with container managed EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1045397 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 22:32:20 +00:00
Jody Grassel 3de119f57a OPENJPA-1905: Validate jar-file pu element after confirming OpenJPA is chosen provider
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1045296 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 18:54:57 +00:00
Michael Dick 315a47945c OPENJPA-1884: setting svn eol style
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1044031 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 16:53:06 +00:00
Jeremy Bauer b56fcf3287 OPENJPA-1884 Updated entity manager impl to process cache store mode property provided on refresh method and updated data cache manager to refresh the L2 properly when a store mode is provided.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1042698 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 16:09:08 +00:00
Michael Dick 2cc69063aa [maven-release-plugin] prepare release 2.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1040584 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 15:30:48 +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
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 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
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
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
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
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
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 2f6baf7119 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@1030479 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03 14:51:28 +00:00
Donald Woods 2ca9d9f30f one more attempt to fix these failing testTimeouts1 failures on some machines
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030215 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 21:02:21 +00:00
Richard G. Curtis b24d729deb OPENJPA-1868: Miscellaneous FindBugs suggested performance improvements for lib, persistence, and persistence-jdbc.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030172 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 18:50:13 +00:00
Donald Woods 05d19a0672 exclude JEST tests for now
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030124 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 17:04:25 +00:00
Richard G. Curtis d99b9ba034 OPENJPA-1867: Fix ClassCastException when loading from DataCache.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030056 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 14:19:30 +00:00
Albert Lee ab326efe07 OPENJPA-1793 - New test case testEntityA_Embed_Single_Coll caused "ORA-01861: literal does not match format string" when run against Oracle due to default DATE column format differences. (See http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/sql_elements004.htm)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1029821 13f79535-47bb-0310-9956-ffa450edef68
2010-11-01 20:19:32 +00:00
Pinaki Poddar d4416c192f OPENJPA-1851: minor edit
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028520 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 22:28:24 +00:00
Pinaki Poddar c325e704eb OPENJPA-1821: Defensive thread guard on reparametrization.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028488 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 21:25:14 +00:00
Pinaki Poddar 54234f6102 OPENJPA-1845: Detect query using IN expression with parameters and exclude from query cache
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028393 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 17:18:09 +00:00
Pinaki Poddar 3598d38ffc OPENJPA-1851: Add URI to JEST server. Change parameter separator to &
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028291 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 13:35:14 +00:00
Donald Woods 979384e10e fixup license header
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028166 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 01:49:57 +00:00
Pinaki Poddar 91d1eb914b OPENJPA-1851: Few basic tests on JEST (RESTful remote access to OpenJPA runtime)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028146 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 00:36:36 +00:00
Fay Wang c3c97f7cf3 OPENJPA-1857: fix the exception to be thrown by OpenJPA when wrong JoinColumn annotation is specified.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028095 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 20:55:00 +00:00
Richard G. Curtis 35b5f8fddc Remove invalid <class> from TestConv persistence.xml to reduce test logging.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028081 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 19:53:19 +00:00
Donald Woods 9e09567ddc skip remaining 2 failing queryTimeout tests for MSSQL2005
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028071 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 18:56:41 +00:00
Donald Woods 47d7b1d778 rollback having closeEMF() perform clear(emf) automatically
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028052 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 17:56:15 +00:00
Richard G. Curtis 7c377a9043 OPENJPA-1856: Executing bulk updates should evict from DataCache.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027983 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 14:47:44 +00:00
Donald Woods 582e91b867 OPENJPA-1793 @EmbeddedId class having only one field java.sql.Data. Contributed by Heath Thomann.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027722 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 20:14:15 +00:00
Donald Woods 36d157b0ec allow tearDown() to cleanup resources
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027698 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 19:30:39 +00:00