Commit Graph

4534 Commits

Author SHA1 Message Date
Richard G. Curtis c6fa108b30 OPENJPA-2293: Don't check for listeners if exclude-default-listener is configured.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1406241 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 17:43:22 +00:00
Richard G. Curtis cd7851e9d3 OPENJPA-2292: Use java.util.IdentityHashMap in BrokerImpl.initializeOperatingSet to reduce object allocations.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1406228 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 17:17:04 +00:00
Richard G. Curtis 60b97e307f OPENJPA-2292: Pool CancelPreparedStatements to reduce object allocations.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1405929 13f79535-47bb-0310-9956-ffa450edef68
2012-11-05 19:55:44 +00:00
Richard G. Curtis 2980c1901e OPENJPA-2280: Reverting previous commits.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1404317 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 19:45:06 +00:00
Richard G. Curtis bfa7d2c696 OPENJPA-2280: Update testcase so it works on DB2.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1403472 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 19:59:19 +00:00
Richard G. Curtis 4b230ebb53 OPENJPA-2285: DataCacheStoreManager improvement.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1402635 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 19:49:06 +00:00
Richard G. Curtis ef5f605f7f OPENJPA-2280: Add text to the migration considerations for MappingTool changes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1399789 13f79535-47bb-0310-9956-ffa450edef68
2012-10-18 19:03:39 +00:00
Richard G. Curtis fbe268c71c OPENJPA-2280: Update AccountDataBean to include scale and precision.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1399715 13f79535-47bb-0310-9956-ffa450edef68
2012-10-18 16:07:32 +00:00
Richard G. Curtis 0988966e5c OPENJPA-2280: Change AbstractDB2Dictionary numeric type mapping from DOUBLE to DECIMAL.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1398979 13f79535-47bb-0310-9956-ffa450edef68
2012-10-16 20:30:31 +00:00
Richard G. Curtis e5f91d12b4 OPENJPA-2234: Remove failing testcase.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1396185 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 18:42:12 +00:00
Albert Lee 4ca0cdc92c OPENJPA-2275 - Enhancements for SchemaTool extension. Contributed by Francesco Chicchiriccò.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1396145 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 18:09:37 +00:00
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