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
Albert Lee
ec836bec3b
OPENJPA-2169 - Test case update for Oracle 11.2.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1308558 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 20:58:02 +00:00
Kevin W. Sutter
461471d174
OPENJPA-2164. Change the Savepoints testcase to be more consistent with the expectations of savepoints.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1307595 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 20:20:04 +00:00
Albert Lee
42372cf609
OPENJPA-2163 Simplify configuration: move SingletonLifecycleEventManager from property to Compatibility option.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1307018 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 17:50:19 +00:00
Albert Lee
f506835fa8
OPENJPA-2163 Change LifecycleEventManager PluginValue's singleton default value from true to false. Add SingletonLifecycleEventManager property allow previous property to switch singleton value back to true. Since LifecycleEventManager is a internal property for BeanValidation support, the SingletonLifecycleEventManager property will be kept as internal property as well.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1306592 13f79535-47bb-0310-9956-ffa450edef68
2012-03-28 20:52:08 +00:00
Dianne E. Richards
83b432a46f
OPENJPA-2159 Provide dictionary option for Date rounding
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1304349 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 13:59:13 +00:00
Richard G. Curtis
1925881f5d
OPENJPA-2158: Null out StateManager when lite auto detaching proxies.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1303507 13f79535-47bb-0310-9956-ffa450edef68
2012-03-21 19:06:42 +00:00
Albert Lee
b68cf1d0fb
OPENJPA-2153 Mark DBCPDriverDataSource non-abstract so that DBCPDriverDataSource.class.newinstance is used to instantiate for property configuration.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1299276 13f79535-47bb-0310-9956-ffa450edef68
2012-03-10 21:26:31 +00:00
Dianne E. Richards
f94fb7f727
OPENJPA-2132 Fix empty List for OneToMany with InheritanceType.JOINED or SINGLE_TABLE
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1298856 13f79535-47bb-0310-9956-ffa450edef68
2012-03-09 14:46:44 +00:00
Dianne E. Richards
e1c4c92888
OPENJPA-2142 test case
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1298490 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 18:02:40 +00:00
Jeremy Bauer
d03434b557
OPENJPA-2141 fix and test for lazy embedded fields
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1293250 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 13:53:01 +00:00
Richard G. Curtis
6599b7b403
OPENJPA-2136: Fix NPE when using LiteAutoDetach.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1292034 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 21:14:57 +00:00
Albert Lee
408d8b4463
Update pom.xml version to 2.3.0-SNAPSHOTS in trunk after 2.2.0 is released.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1291435 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 20:37:05 +00:00
Albert Lee
4d1e1bc8df
[maven-release-plugin] prepare release 2.2.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1244808 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 00:30:29 +00:00
Jeremy Bauer
e14af5d7ab
OPENJPA-2120 Add option for optimizing copy operations for qualifying id classes.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1241207 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 22:03:02 +00:00
Albert Lee
ad41647b99
OPENJPA-2117 - Fix formatting problem
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1236732 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 16:23:33 +00:00
Albert Lee
11dc47c80a
OPENJPA-2117 - change setColumn gated on isSerialized not isElementCollection
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1236731 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 16:20:05 +00:00
Albert Lee
1de07a52ec
Remove left-over System.out.println("++++ INDEX")
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1236416 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 22:22:36 +00:00
Pinaki Poddar
e37a589072
OPENJPA:1050: Use generics
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1236280 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 16:36:38 +00:00
Richard G. Curtis
dc95a8a2e6
OPENJPA-2068: Update test Entities.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1233509 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 18:16:56 +00:00
Richard G. Curtis
2c65619be4
OPENJPA-2068: Fixing a bug where we were incorrectly removing LRS proxy fields while loading the proxy.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1233434 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 15:33:01 +00:00