Commit Graph

4623 Commits

Author SHA1 Message Date
Richard G. Curtis 94969374f6 OPENJPA-2234: Avoid NPE when the ManagedRuntime returns a null TransactionManager.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1396043 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 14:23:36 +00:00
Richard G. Curtis 4823f1748e OPENJPA-1532: Enable shared-cache-mode to turn on datacache without needing openjpa.DataCache configuration. Patch contributed by Helen Xu.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1396037 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 13:47:38 +00:00
Richard G. Curtis dab8b620f9 Removed OpenJPA references from daytrader-integration module and added a EM pool-ish feature to daytrader-integrat test.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1393779 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 21:35:31 +00:00
Richard G. Curtis 3a6ffd834f OPENJPA-2269: Fix testcase.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1392928 13f79535-47bb-0310-9956-ffa450edef68
2012-10-02 14:33:47 +00:00
Richard G. Curtis 9f128e3286 OPENJPA-2271: Update ciManagement in pom.xml. Patch contributed by Francesco Chicchiriccò.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1392901 13f79535-47bb-0310-9956-ffa450edef68
2012-10-02 13:08:17 +00:00
Albert Lee a06d373573 OPENJPA-2247 Complete fix for 1x1 bi and mx1 uni relationships of the described problem.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1392661 13f79535-47bb-0310-9956-ffa450edef68
2012-10-01 22:15:42 +00:00
Richard G. Curtis 1c2ec168ed OPENJPA-2171: Fix ASM static init exception text.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1392424 13f79535-47bb-0310-9956-ffa450edef68
2012-10-01 16:18:54 +00:00
Pinaki Poddar fd8e5fe865 Add some solution hint in the error message
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1391630 13f79535-47bb-0310-9956-ffa450edef68
2012-09-28 20:14:34 +00:00
Richard G. Curtis fd4ca96050 OPENJPA-2267: Fix NPE in ResultPacker when there is a null result.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1391218 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 21:05:07 +00:00
Richard G. Curtis e424097b56 OPENJPA-2269: Fix duplicate key exception when inserting into sequence table on multithreaded init.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1391185 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 19:36:44 +00:00
Richard G. Curtis 837638b91b OPENJPA-2264: Change PreparedStatementManagerImpl.logSQLWarnings to take a Statement rather than a PreparedStatement.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1388137 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 17:55:21 +00:00
Pinaki Poddar 0ae1199283 OPENJPA-2253 Add few Audit test
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1383729 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 01:28:31 +00:00
Pinaki Poddar ae3441b049 OPENJPA-2253: Clear temporary storage for audit to prevent memory leak
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1383728 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 01:25:13 +00:00
Pinaki Poddar 556d796ed3 OPENJPA-2253: Clear temporary storage for audit to prevent memory leak
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1383727 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 01:23:32 +00:00
Jody Grassel e9a6d6681d OPENJPA-2261: Query SQL Cache issue with NULL parameters
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1383446 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 15:18:22 +00:00
Jody Grassel ef2065122a OPENJPA-2260: Parenthesis-augmented parameters are improperly processed at EM level
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1383100 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 20:27:56 +00:00
Kevin W. Sutter 1952ecd460 OPENJPA-2240. Update the Serp dependency to v1.14.1. This version resolves the issue of enhancing methods with class constants as parameters.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1381592 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 13:23:38 +00:00
Albert Lee 512520f7fb OPENJPA-2257 Properly synchronized _supportedKeys in ConigurationImpl. Test case contributed by Stephan Hagedorn.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1381326 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 19:53:52 +00:00
Albert Lee bc29ef104d OPENJPA-2255 Enable join table id columns to use the column length from the target instead of hard-coded db specific default column length.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1379687 13f79535-47bb-0310-9956-ffa450edef68
2012-09-01 04:13:26 +00:00
Jody Grassel 9e9b0a7ae3 OPENJPA-2149: Criteria.function adds wrong casts to parameters making it unusable
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1376659 13f79535-47bb-0310-9956-ffa450edef68
2012-08-23 19:27:22 +00:00
Mark Struberg a5992927e3 OPENJPA-2171 pickup existing ASM shades if possible
To prevent classpath clashes we try to pickup a few
known ASM shades. 


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1371607 13f79535-47bb-0310-9956-ffa450edef68
2012-08-10 08:49:03 +00:00
Albert Lee eb02dc6c51 Use of ${hsqldb.version" property causes "recursive expression cycle" error in maven plugin test. Reverted back to use hard-code value but with matching version.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1371308 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 16:47:13 +00:00
Albert Lee c3169ccf36 OPENJPA-2242 - Extends procedure call parameter String cast length if value length is greater than the default length
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1371269 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 16:01:32 +00:00
Albert Lee 1d1b1bbea9 Replace hard-coded hsqldb.version value to property value to void repository version mis-match and eventually maven plugin test failures.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1371228 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 14:40:49 +00:00
Albert Lee 4f930b1c29 OPENJPA-428 - Remove Id property from remaining map in Configurations
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1370866 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 18:02:44 +00:00
Richard G. Curtis 3e787f7fe3 OPENJPA-2247: Update testcase.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1369966 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 20:09:43 +00:00
Richard G. Curtis 2683a0227a OPENJPA-2247: Honor JoinColumn.name when mapping a uni-directional OneToOne that is in a SecondaryTable.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1369043 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 15:34:35 +00:00
Richard G. Curtis a55000a4be OPENJPA-2229: Honor JoinColumn.name when mapping a uni-directional OneToOne that is in a SecondaryTable.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1369042 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 15:33:00 +00:00
Richard G. Curtis bcda87c67b OPENJPA-2245: Fix NotSerializableException when using Criteria and QueryCache.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1368438 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 12:54:26 +00:00
Jody Grassel 5c05a69ce6 OPENJPA-2227: OpenJPA doesn't find custom SequenceGenerators
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1367126 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 15:40:35 +00:00
Albert Lee 423d1d18e4 OPENJPA-2231 - add proper imports.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1366526 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 20:39:16 +00:00
Albert Lee 8c2527215d OPENJPA-2231 - introduce replace method using Reader for input stream.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1366475 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 18:12:44 +00:00
Albert Lee a7b90fd9ed OPENJPA-2232 - Disable TestAudit temporarily until problem is resolved.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1366474 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 18:09:26 +00:00
Albert Lee 0abd271b3c OPENJPA-2243 - Add synchronized that matches the signatures in superclass.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1366437 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 16:30:39 +00:00
Albert Lee 654f835222 OPENJPA-2196 - Commit contribution by Scott Parkerson.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1365688 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 18:30:31 +00:00
Richard G. Curtis 5afd4e851b OPENJPA-2238: Don't create custom proxies for default scoped classes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1364683 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 15:35:01 +00:00
Jeremy Bauer 0506e9f0b5 OPENJPA-2236 put try/catch around connection info trace in DBDictionary
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1363627 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 02:51:52 +00:00
Richard G. Curtis 4b04ef53cf OPENJPA-2228: Fix SQLBuffer when using an Entity with an EmbeddedId that has multiple pks and QuerySQLCache is enabled. Patch contributed by Helen Xu.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1362679 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 21:59:10 +00:00
Richard G. Curtis a42c9c280a OPENJPA-2229: Add support for JBoss vfs when process Entities.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1361564 13f79535-47bb-0310-9956-ffa450edef68
2012-07-14 17:17:54 +00:00
Richard G. Curtis 90032dc954 Update svn:ignore for openjpa-tools modules.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1361562 13f79535-47bb-0310-9956-ffa450edef68
2012-07-14 17:02:09 +00:00
Kevin W. Sutter 5eb13dbde9 OPENJPA-2230. Set the _activated flag when processing EventListeners in super classes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1361354 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 19:46:41 +00:00
Albert Lee f30d74802d OPENJPA-2199 - Guard null pc value.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1361285 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 16:22:16 +00:00
Richard G. Curtis b04dee5ad2 OPENJPA-2220: Update pom.xml to use the shaded jar rather than the default jar.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1360411 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 21:27:12 +00:00
Richard G. Curtis e4d72a7983 OPENJPA-2220: Update pom.xml to publish shaded jar.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1360382 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 20:22:49 +00:00
Richard G. Curtis d586739ae3 OPENJPA-2220: Break fetch statistics apart into multiple dependent modules.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1359941 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 22:50:24 +00:00
Albert Lee b5c83f05f9 Change TestId class name to IdTestClass to avoid JUnit 4 detects TestId is a test case and generates "java.lang.Exception: No runnable methods" failures.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1359936 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 22:24:16 +00:00
Richard G. Curtis 1246de0774 OPENJPA-2220: Update pom.xml(s)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1359431 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 22:23:05 +00:00
Richard G. Curtis 1de868af05 OPENJPA-2220: Commit fetch statistic tool. Patch contributed by Helen Xu.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1356860 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 18:21:24 +00:00
Pinaki Poddar dc339a98bc Reduce log level when meta class not found
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1356544 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 02:18:03 +00:00
Richard G. Curtis 60c94ad412 OPENJPA-2030: Fix erroneous test commit.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1356259 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 14:31:22 +00:00