Commit Graph

3991 Commits

Author SHA1 Message Date
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
Donald Woods 06c1e74358 OPENJPA-1313 Incorrect hashcode()/equals() implementation(s) in RowManagerImpl. Patch contributed by Heath Thomann.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027977 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 14:37:42 +00:00
Donald Woods ce416a8777 OPENJPA-1312 Incorrect hashcode()/equals() implementation(s) in SelectImpl. Patch contributed by Heath Thomann.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027976 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 14:31:24 +00:00
Donald Woods 57e94f648c OPENJPA-1311 Incorrect hashcode()/equals() implementation(s). Contributed by Heath Thomann.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027731 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 20:22:27 +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 89ed13599e null out EMF to help GC
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027708 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 19:47:27 +00:00
Donald Woods 0baa453c37 have test close EM
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027706 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 19:46:42 +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
Donald Woods 89fbaf709f some testcase cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027694 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 19:22:06 +00:00
Donald Woods 5538fd7bb3 testcase needs to close EMF
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027686 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 19:08:55 +00:00
Donald Woods 1058a69afb test should call super.tearDown() for cleanup. also added @AllowFailure to surefire excluded tests.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027682 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 18:52:34 +00:00
Donald Woods 065f0e25dc testcase needs to close EMF
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027675 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 18:33:59 +00:00
Donald Woods d461ba7f5c use common closeEMF() in testcase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027674 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 18:32:37 +00:00
Donald Woods 73cbad1a16 test should call super.tearDown() for cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027673 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 18:28:38 +00:00