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
Donald Woods
acafc94a5e
OPENJPA-1410 Class linkage exception when creating an EMF with OpenJPA M3 caused by ValidationUtils.setupValidation(). First round of cleanup.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901385 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 21:24:14 +00:00
Donald Woods
9ea3fe0895
OPENJPA-1374 undo changes to PersistenceProviderImpl.java, which are for OPENJPA-1410 instead
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901384 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 21:22:10 +00:00
Donald Woods
2b2ede1e38
OPENJPA-1374 Enable junits to be executed against an in-memory Derby 10.5.3.0 db. Moved common Derby profiles to the parent POM. Added new Derby props in o-p-j which knocked 2 mins off build time. Added a test-derbymem profile to use Derby 10.5.3.0 as in-memory DB, which reduced build time by 5 mins.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901374 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 20:53:57 +00:00
Donald Woods
531df90e41
OPENJPA-1293 JUnit test failure when using Derby 10.5.3.0. Disabling testVariableHaving() for Derby.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901373 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 20:48:42 +00:00
Jeremy Bauer
f4d0966de5
OPENJPA-1115 Enabled delimited id test on MySQL and fix identifier conversion related bugs.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901362 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 20:14:19 +00:00
Catalina Wei
4adf1c68a7
OPENJPA-1466 Fix Junit test failures on Oracle
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901295 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 17:33:59 +00:00
Jeremy Bauer
9e73688412
OPENJPA-1115 Eliminate alias conversion on configurations that do not require conversion.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900985 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 22:33:11 +00:00
Jeremy Bauer
245bb82d34
OPENJPA-1115 Fixed many naming collisions in delimited id tests. Corrected bug in schema group that broke fully qualified sequence names.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900955 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 21:00:25 +00:00
Donald Woods
00c44aba43
OPENJPA-1460 Undo import of a spec api added in r900873, as openjpa-kernel does not have access to the spec api and should not by design.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900931 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 19:48:39 +00:00
Albert Lee
968634a738
OPENJPA-1470 Java 2 Security permission violation on getClassLoader caused JEE container unable to enhance entities on the fly.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900905 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 18:53:16 +00:00