Commit Graph

3085 Commits

Author SHA1 Message Date
Fay Wang 4a987190d9 OPENJPA-1460: resolve visibility scope of orm.xml
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@908621 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 18:23:59 +00:00
Pinaki Poddar 2641d43ed4 OPENJPA-1334: Separate distribution policy from DataCacheManager.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@908327 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 02:39:38 +00:00
Pinaki Poddar 92f162bd4b OPENJPA-1334: Separate distribution policy from DataCacheManager.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@908325 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 02:32:41 +00:00
Pinaki Poddar 6fa32719b9 OPENJPA-1334: Separate distribution policy from DataCacheManager.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@908322 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 02:26:31 +00:00
Pinaki Poddar ad3cf2c682 OPENJPA-1503: Use AccessController to load metamodel class.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@908225 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 21:13:44 +00:00
Donald Woods 27abdb4149 OPENJPA-1107 TraversableResolver testcases contributed by Dianne Richards.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@908173 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 19:39:45 +00:00
Fay Wang 31265de187 OPENJPA-1496: fix temporal parameter processing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@908150 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 18:36:10 +00:00
Donald Woods d3b3ee0438 OPENJPA-1502 Improve WARN msg for unrecognized EntityManager properties
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@908071 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 15:23:16 +00:00
Fay Wang 3854f9b5e6 OPENJPA-931: support nested embeddedId in IdClass during remove
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@907853 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 00:17:50 +00:00
Michael Dick 69c5eb11ff OPENJPA-1498. Minor message file improvements
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@906993 13f79535-47bb-0310-9956-ffa450edef68
2010-02-05 16:37:54 +00:00
Fay Wang 814fef0f7d OPENJPA-1493: performance fix in getTableIndex
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@906614 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 19:38:27 +00:00
Catalina Wei ec0eeedf35 OPENJPA-1493: Performance improvement in SelectImpl.getTableIndex() for JPQL without subselect
The JUnit regression uncovers an issue in Criteria Query
add @AllowFailure in TestTypesafeCriteria.testValues5(), it is found the expected sql is incorrect. A separate issue will address this problem.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@905898 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 05:26:58 +00:00
Michael Dick a720a9c6f6 OPENJPA-1482:
Prevent NoSuchMethodError when calling setVersion.
Submitted By : Rick Curtis

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@905835 13f79535-47bb-0310-9956-ffa450edef68
2010-02-02 23:23:57 +00:00
Donald Woods cbf700e499 minor notice file updates
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@905653 13f79535-47bb-0310-9956-ffa450edef68
2010-02-02 14:47:11 +00:00
Fay Wang 1a216e9fb7 OPENJPA-1483: support count distinct compound key
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@905540 13f79535-47bb-0310-9956-ffa450edef68
2010-02-02 07:58:31 +00:00
Pinaki Poddar 784e4560db OPENJPA-960: Block unwrap for Object.class or null argument
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@905355 13f79535-47bb-0310-9956-ffa450edef68
2010-02-01 18:28:18 +00:00
Milosz Tylenda 97496b0bd6 OPENJPA-1367: Improvements for H2 database. Commit patch provided by Prashant Bhat with slight modifications. Information on CROSS JOIN provided by Thomas Mueller.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@905001 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 11:15:01 +00:00
Fay Wang 7aad95a75b OPENJPA-1485: null collection value can still be treated as loaded.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@904728 13f79535-47bb-0310-9956-ffa450edef68
2010-01-30 04:46:42 +00:00
Fay Wang 1000f39d35 OPENJPA-1486: lazily fetched embeddable should not be materialized in the query result
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@904277 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 21:57:48 +00:00
Donald Woods e3560cfd6b revert r903816 as creation of tests.jar artifacts must be done only in the modules that have tests to jar, as otherwise a jar will be created w/o the required license/notice files and cause the IANAL check to fail. details added to release process wiki page explaining what other step is required at release time.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@904149 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 16:38:52 +00:00
Donald Woods c2ef7871fa upgrade to latest maven-release-plugin
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@904136 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 15:40:10 +00:00
Fay Wang 54ef07f799 OPENJPA-1485: fix potential classCast exception for StateManagerImpl
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@903964 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 05:53:47 +00:00
Fay Wang 4197457c85 OPENJPA-1485: isLoaded util method should return true for an entity when an unloaded basic type is not in the fetch plan.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@903914 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 00:04:31 +00:00
Donald Woods b3a931f4b0 re-enable test.jar creation in parent pom, so the generated artifacts will get signed
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@903816 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 20:16:02 +00:00
Jeremy Bauer a32573481e OPENJPA-1485 Check persistent collection attributes for null when determining load state.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@903812 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 19:57:59 +00:00
Donald Woods 7091a52927 OPENJPA-1076 Testcases for PersistenceProviderResolver contributed by Dianne Richards.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@903328 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 17:23:33 +00:00
Donald Woods f25dda05b5 add pointer to 1.2.2 release notes, as discovered missing by Kevin.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@903285 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 15:52:37 +00:00
Donald Woods 83897b4d28 merged in r903062 from beta branch - fix openjpa-all, which had some jaxb code included by the shade plugin due to transitive depends
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@903064 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 03:12:12 +00:00
Donald Woods 9c90ca5506 merged in r902968 from beta branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@902988 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 21:50:14 +00:00
Donald Woods e6850b316b merge in more beta release updates
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@902912 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 18:31:02 +00:00
Donald Woods 85c75d84c2 OPENJPA-1468 Upgrade to final Bean Validation spec API from Geronimo
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@902888 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 17:36:15 +00:00
Donald Woods c9b82eec1f update copyright year in docs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@902832 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 14:48:10 +00:00
Donald Woods ef89c9d699 update copyrights for 2010
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@902822 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 14:34:51 +00:00
Fay Wang c15f473949 OPENJPA-1460: back out the previous change until the visibility scope of orm.xml is fully agreed upon.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@902291 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 22:11:39 +00:00
Jeremy Bauer 671417a73a OPENJPA-1115 Fix auto gen id related jUnit regressions on PostgreSQL.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@902177 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 17:02:13 +00:00
Donald Woods 31757064ca OPENJPA-1478 add OSGi metadata back into openjpa.jar artifact for Apache Aries team. Also updated to latest maven-bundle-plugin version.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@902169 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 16:49:12 +00:00
Michael Dick 79b14dd05f OPENJPA-1150:
Un-exclude writebehind testcases since they're no longer in svn

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@902141 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 16:12:12 +00:00
Michael Dick c246a7a4b1 OPENJPA-1150:
Removing incomplete WriteBehind implementation.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@902113 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 15:20:03 +00:00
Donald Woods d299ac4311 OPENJPA-1410 Undo removal of code that was added by OPENJPA-1460
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901968 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 03:34:57 +00:00
Richard G. Curtis 55d7af6e23 OPENJPA-1475: Exclude calling syncVersion() if an Entity doesn't have a version field. Patch submitted by Dianne Richards.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901901 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 22:39:19 +00:00
Pinaki Poddar ec8dba1465 OPENJPA-1477: Do not use cached PreparedQuery unless it is initialized
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901845 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 20:17:50 +00:00
Donald Woods 08cf015207 allow running full builds w/o running o-p-locking tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901830 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 19:17:14 +00:00
Kevin W. Sutter 184cb41619 OPENJPA-1476. Turning off the QueryCache by default. The new default value for this property will be "false". Also, disabling the Write Behind testcases.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901825 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 18:48:31 +00:00
Donald Woods 6d253cfe10 add missing license headers
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901810 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 18:15:36 +00:00
Fay Wang b08a0d179b OPENJPA-1455: VALUES CURRENT SCHEMA fails in DB2 on zOS. Change the SQL to SELECT CURRENT SCHEMA FROM SYSIBM.SYSDUMMY1.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901775 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 17:03:33 +00:00
Jeremy Bauer bad0838e00 OPENJPA-1115 Fix problem with sequence schema matching due to extraneous spaces and fix some testcase failures on non-Derby DB platforms that are caused by naming collisions.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901525 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 04:30:33 +00:00
Donald Woods 3042900de1 OPENJPA-1374 allow setUp() code to run, as it is required by tearDown()
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901492 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 01:33:18 +00:00
Pinaki Poddar d23199bf20 OPENJPA-1474: Setting intermediate field should take into account the loaded state
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901464 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 00:31:06 +00:00
Pinaki Poddar b94d23268f OPENJPA-1473: Replace null object with non-null default for aggregate expressions
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901454 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 00:16:03 +00:00
Donald Woods 5a0b97302b OPENJPA-1374 The @DatabasePlatform no longer works, as Derby will always be on the classpath. Switching 3 junits over to use setSupportedDatabases() in their setUp() routines instead....
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901419 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 22:53:02 +00:00