Commit Graph

1653 Commits

Author SHA1 Message Date
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 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 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 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
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 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
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
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
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 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
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
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
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 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 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 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 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
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
Richard G. Curtis c120b18eb9 OPENJPA-2209: Allow configuration of MetaDataRepository preloading with a lowercase property.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1346874 13f79535-47bb-0310-9956-ffa450edef68
2012-06-06 13:10:51 +00:00
Dianne E. Richards 4f479a9887 OPENJPA-2175 Fix problem with multiple foreign keys of the same type
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1346073 13f79535-47bb-0310-9956-ffa450edef68
2012-06-04 18:18:04 +00:00
Heath Thomann e6129051c2 OPENJPA-2095: Applied Helen Xu's patch to trunk with Albert's test case changes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1345263 13f79535-47bb-0310-9956-ffa450edef68
2012-06-01 16:02:31 +00:00
Heath Thomann 5fb9e71726 OPENJPA-2072: Applied Helen Xu's patch to trunk, and applied test case changes as Albert had done in JIRA OPENJPA-2095 for issue with using Test* in entity name.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1344914 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 21:17:41 +00:00
Heath Thomann ebe06fdf35 OPENJPA-2174: Applied Helen Xu's patch to trunk
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1344721 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 13:39:52 +00:00
Heath Thomann 11cd0d5fd4 OPENJPA-2118: Provide fix to avoid possible 'division by zero' error.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1344498 13f79535-47bb-0310-9956-ffa450edef68
2012-05-30 23:09:15 +00:00
Mark Struberg 908e0f6935 OPENJPA-2200 remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1340856 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 22:04:16 +00:00
Mark Struberg fe1a099bcf OPENJPA-2179 use other ways to disable the test
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1340840 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 21:02:19 +00:00
Mark Struberg ac9466b460 OPENJPA-2179 provide unit test (disabled)
please remove the 'disabled' from the disabledtestJoinOnly
test method to verify the bug. 


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1340835 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 20:41:56 +00:00
Mark Struberg 6be44b2e40 remove tabs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1340834 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 20:40:42 +00:00
Mark Struberg 2889520be9 fix codestyle only
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1340833 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 20:40:09 +00:00
Mark Struberg 8a7ce9df2e OPENJPA-2179 improve test and move to general
Sadly I experienced that this not only happens with Oracle
but also on hsqldb, mysql and most probably any other.


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1340808 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 19:26:21 +00:00
Albert Lee 901c70e1d6 OPENJPA-2199 - If inverse relation is removed (nulled out) when commit, attempt to find the target type from initialized object in the state manager to complete the update graph for foreign key constraint detection between the relationships.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1340123 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 15:08:50 +00:00
Mark Struberg 61b023c784 OPENJPA-2197 fix lifecycle method detection
This commit fixes a problem to pick up a JPA lifecycle method
like @PrePersist if there is a method with the same name
(but different parameters) in the class as well.


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1339509 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 07:55:41 +00:00
Albert Lee 6df8fa909a OPENJPA-2179 - Fix table name conflict between org.apache.openjpa.persistence.common.apps.Course and org.apache.openjpa.jdbc.oracle.Course which caused the reported exception.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1335541 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 14:09:53 +00:00
Dianne E. Richards a0f7a2f50f OPENJPA-2142 Update test case for second problem
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1332244 13f79535-47bb-0310-9956-ffa450edef68
2012-04-30 15:29:53 +00:00
Mark Struberg badcf47af8 OPENJPA-2179 remove unnecessary config params
We still need the cache params, otherwise we will not
see the underlying problem.


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1332095 13f79535-47bb-0310-9956-ffa450edef68
2012-04-30 08:09:33 +00:00
Mark Struberg b15b164b6c OPENJPA-2179 create unit test showing the problem.
Please note that the unit test doesn't fail yet!
It just logs the superfluous SQL statements in the output.


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1332089 13f79535-47bb-0310-9956-ffa450edef68
2012-04-30 07:49:45 +00:00
Mark Struberg a2c820b66e replace tabs with spaces only
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1331613 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 22:09:12 +00:00
Jeremy Bauer eef9fd4b31 OPENJPA-2182 updated testcase to workaround this issue
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1331474 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 15:47:24 +00:00
Jeremy Bauer df8d3c4416 OPENJPA-2165 Minor fixes, more proxy types, testcases, and doc udpates
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1331051 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 19:53:49 +00:00
Richard G. Curtis b7bd2c873d OPENJPA-2110: Create correct proxy type when type is defined in an abstract class.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1324759 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 13:40:53 +00:00