You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by Michael Bouschen <mi...@akquinet.de> on 2011/04/24 21:50:16 UTC
Patch adding new testclasses running DataNucleus typesafe queries
Hi,
attached you find a patch adding new testclasses that run DataNucleus
typesafe queries.
Here is the list of changes:
! src/java/org/apache/jdo/tck/pc/companyAnnotatedPI
A src/java/org/apache/jdo/tck/query/typesafe
A src/java/org/apache/jdo/tck/query/typesafe/TypesafeQueryTest.java
A src/java/org/apache/jdo/tck/query/typesafe/SimpleQueries.java
A src/java/org/apache/jdo/tck/query/typesafe/ProjectionQueries.java
A src/java/org/apache/jdo/tck/query/typesafe/ParameterQueries.java
A src/conf/typesafeQueries.conf
A
src/testdata/org/apache/jdo/tck/pc/company/companyForTypesafeQueryTests.xml
M pom.xml
Please note, that I'm running Version 3.0.0-m1 of datanucleus-jdo-query
that runs into a NPE in the APT (see NUCJDOQUERY-8). In order to avoid
this I removed the company version using PersistenceCapable interfaces
(src/java/org/apache/jdo/tck/pc/companyAnnotatedPI) from my local
workspace. The NPE is fixed in the DataNuclues trunk, so with the next
DN version we do not need this workaround anymore.
Regards Michael
--
*Michael Bouschen*
*Prokurist*
akquinet tech@spree GmbH
Bülowstr. 66, D-10783 Berlin
Fon: +49 30 235 520-33
Fax: +49 30 217 520-12
Email: michael.bouschen@akquinet.de
Url: www.akquinet.de <http://www.akquinet.de>
akquinet tech@spree GmbH, Berlin
Geschäftsführung: Martin Weber, Prof. Dr. Christian Roth
Amtsgericht Berlin-Charlottenburg HRB 86780 B
USt.-Id. Nr.: DE 225 964 680
Re: Patch adding new testclasses running DataNucleus typesafe queries
Posted by Michael Bouschen <mi...@akquinet.de>.
Hi,
attached you find a new patch with an updated version of the new
testclasses that run DataNucleus typesafe queries. This version adds
group by queries and runs the same tests for datastoreidentity.
A src/java/org/apache/jdo/tck/query/typesafe
A src/java/org/apache/jdo/tck/query/typesafe/TypesafeQueryTest.java
A src/java/org/apache/jdo/tck/query/typesafe/SimpleQueries.java
A src/java/org/apache/jdo/tck/query/typesafe/GroupingQueries.java
A src/java/org/apache/jdo/tck/query/typesafe/ProjectionQueries.java
A src/java/org/apache/jdo/tck/query/typesafe/ParameterQueries.java
A src/conf/typesafeQueries.conf
M pom.xml
The NPE in the APT when processing PersistenceCapable interfaces is
fixed in the latest DataNucleus version, so there is no need to remove
the directory companyAnnotatedPI anymore.
Regards Michael
> Hi,
>
> attached you find a patch adding new testclasses that run DataNucleus
> typesafe queries.
>
> Here is the list of changes:
> ! src/java/org/apache/jdo/tck/pc/companyAnnotatedPI
> A src/java/org/apache/jdo/tck/query/typesafe
> A src/java/org/apache/jdo/tck/query/typesafe/TypesafeQueryTest.java
> A src/java/org/apache/jdo/tck/query/typesafe/SimpleQueries.java
> A src/java/org/apache/jdo/tck/query/typesafe/ProjectionQueries.java
> A src/java/org/apache/jdo/tck/query/typesafe/ParameterQueries.java
> A src/conf/typesafeQueries.conf
> A
> src/testdata/org/apache/jdo/tck/pc/company/companyForTypesafeQueryTests.xml
> M pom.xml
>
> Please note, that I'm running Version 3.0.0-m1 of
> datanucleus-jdo-query that runs into a NPE in the APT (see
> NUCJDOQUERY-8). In order to avoid this I removed the company version
> using PersistenceCapable interfaces
> (src/java/org/apache/jdo/tck/pc/companyAnnotatedPI) from my local
> workspace. The NPE is fixed in the DataNuclues trunk, so with the next
> DN version we do not need this workaround anymore.
>
> Regards Michael
>
> --
> *Michael Bouschen*
> *Prokurist*
>
> akquinet tech@spree GmbH
> Bülowstr. 66, D-10783 Berlin
>
> Fon: +49 30 235 520-33
> Fax: +49 30 217 520-12
> Email: michael.bouschen@akquinet.de
> Url: www.akquinet.de <http://www.akquinet.de>
>
> akquinet tech@spree GmbH, Berlin
> Geschäftsführung: Martin Weber, Prof. Dr. Christian Roth
> Amtsgericht Berlin-Charlottenburg HRB 86780 B
> USt.-Id. Nr.: DE 225 964 680
--
*Michael Bouschen*
*Prokurist*
akquinet tech@spree GmbH
Bülowstr. 66, D-10783 Berlin
Fon: +49 30 235 520-33
Fax: +49 30 217 520-12
Email: michael.bouschen@akquinet.de
Url: www.akquinet.de <http://www.akquinet.de>
akquinet tech@spree GmbH, Berlin
Geschäftsführung: Martin Weber, Prof. Dr. Christian Roth
Amtsgericht Berlin-Charlottenburg HRB 86780 B
USt.-Id. Nr.: DE 225 964 680