Commit Graph

4462 Commits

Author SHA1 Message Date
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
Richard G. Curtis f5d06d7330 OPENJPA-2030: Fix line length.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1354597 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 15:57:18 +00:00
Pinaki Poddar cbffb40022 OPENJPA-2030: Missing license
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1354484 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 13:30:21 +00:00
Pinaki Poddar 1fe219eeae save circular serialization error
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1354283 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 22:54:23 +00:00
Pinaki Poddar 56bd02449a OPENJPA-2030: Add a test for audit
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1354266 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 22:16:03 +00:00
Pinaki Poddar 318642931b OPENJPA-2030: Collect dirty fields with a smarter loop
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1354265 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 22:11:49 +00:00
Pinaki Poddar 325c7a2f2f OPENJPA-2030: Add support to detect dirty outside transaction
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1354233 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 21:04:12 +00:00
Pinaki Poddar 91c9e23478 Put an entity manager as the user object in a broker
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1354226 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 20:56:43 +00:00
Pinaki Poddar 11b8035ace add a test with entity with separate Id class
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1354225 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 20:55:03 +00:00
Pinaki Poddar f3e64797b2 Check not only select but update as well
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1354210 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 20:27:44 +00:00
Dianne E. Richards 4659638a1d OPENJPA-2207 Fix single numeric db identifier problem
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1348076 13f79535-47bb-0310-9956-ffa450edef68
2012-06-08 13:58:36 +00:00
Albert Lee d1306467c3 OPENJPA-2183 - enable missing openjpa.hint.RelaxParameterTypeChecking
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1347017 13f79535-47bb-0310-9956-ffa450edef68
2012-06-06 18:13:14 +00:00