Commit Graph

3904 Commits

Author SHA1 Message Date
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
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 eb2bf2acce OPENJPA-1759 Use new DATETIME2 type in MSSQL2008 for new tables with DATE or TIMESTAMP columns, but 3.0 driver still doesn't handle 2.0 created tables with DATETIME columns....
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030235 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 21:28:23 +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
Donald Woods 3b3063899b OPENJPA-1764 protect against java.lang.NoClassDefFoundError when being used in an app server but as app managed and the JVM exits quickly from under us
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030183 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 19:16:21 +00:00
Richard G. Curtis aa9573698b OPENJPA-1868: Fix checkstyle failure.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030178 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 19:03:22 +00:00
Richard G. Curtis f8179d7282 OPENJPA-1868: Miscellaneous FindBugs suggested performance improvement..
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030173 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 18:53:14 +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
Richard G. Curtis be92a72ad7 OPENJPA-1868: Miscellaneous FindBugs suggested performance improvements for openjpa-jdbc.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030156 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 18:24:12 +00:00
Richard G. Curtis 66ce36c0ad OPENJPA-1868: Miscellaneous FindBugs suggested performance improvements for openjpa-kernel.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030139 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 17:33:41 +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 51dad64253 OPENJPA-1865: Findbugs. Use entrySet iterator rather than keySet. Patch contributed by Guy Korland.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030083 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 15:18:10 +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
Donald Woods c4d891525d rollback to prior version of maven-checkstyle-plugin, due to build errors on some Windows machines
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1029724 13f79535-47bb-0310-9956-ffa450edef68
2010-11-01 16:01:55 +00:00
Donald Woods ae8f5ff8c6 fix pom parents to be openjpa-examples
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1029683 13f79535-47bb-0310-9956-ffa450edef68
2010-11-01 14:41:26 +00:00
Donald Woods 182c63b136 OPENJPA-1861 build updates for maven 3.0 - tweak for Windows machines running Sun 1.6.0 builds
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028880 13f79535-47bb-0310-9956-ffa450edef68
2010-10-29 19:05:32 +00:00
Richard G. Curtis 65b7d76999 OPENJPA-1844: Remove more jconsole changes from trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028774 13f79535-47bb-0310-9956-ffa450edef68
2010-10-29 14:40:47 +00:00
Donald Woods 900304d3c3 OPENJPA-1861 build updates to support using Maven 3.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028748 13f79535-47bb-0310-9956-ffa450edef68
2010-10-29 14:00:35 +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 bfdfa49810 OPENJPA-1851: name the request handler thread
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028470 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 20:50:05 +00:00
Pinaki Poddar 81e1f23a13 OPENJPA-1851: change to more appropriate variable name
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028466 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 20:43:35 +00:00
Richard G. Curtis 8ceee2b1a4 OPENJPA-1844: Remove JConsole plugin from trunk and refactor some of DataCacheMBean.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028457 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 20:13:19 +00:00
Donald Woods 837d8ccd48 OPENJPA-1320 Incorrect hashcode()/equals() implementation(s) for BrokerImpl. Patch contributed by Heath Thomann.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028456 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 20:11:11 +00:00
Donald Woods 9230486ff7 OPENJPA-1318 Incorrect hashcode()/equals() implementation(s) for ExtentImpl. Patch contributed by Heath Thomann.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028452 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 19:58:31 +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
Donald Woods 06a1b71cbf OPENJPA-1317 Incorrect hashcode()/equals() implementation(s) for FetchPlanImpl. Patch contributed by Heath Thomann.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028365 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 16:12:12 +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
Kevin W. Sutter c47965d889 OPENJPA-1851. The @Override was getting flagged as an error in Eclipse's sensitive error checking...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028127 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 22:31:34 +00:00
Richard G. Curtis 61f21099b6 OPENJPA-1858: Cache a reference to MetaDataRepository in BrokerImpl.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028114 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 21:53:05 +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
Pinaki Poddar 3f8bff4331 OPENJPA-1851: First version of JEST (REST on OpenJPA)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028093 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 20:42:44 +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
Richard G. Curtis daa090c11b OPENJPA-1855: Log warning if javax.persistence.cache.retrieve/storeMode is used incorrectly.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028064 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 18:39:53 +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 6a12a3c121 OPENJPA-1312: Fix equals method name.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028046 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 17:21:15 +00:00
Donald Woods 3b65de0765 OPENJPA-1316 Incorrect hashcode()/equals() implementation(s) in GeneratorImpl. Patch contributed by Heath Thomann.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027992 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 15:01:16 +00:00
Donald Woods dcf503dd5a OPENJPA-1314 Incorrect hashcode()/equals() implementation(s) in QueryResultCacheImpl. Patch contributed by Heath Thomann.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027984 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 14:50:26 +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