Find file History
Latest commit 35d549e Sep 5, 2016 @timowest timowest Bump version
Failed to load latest commit information.
doc/specs No commit message Sep 18, 2010
src Ignore unreliable test Mar 15, 2016 Update examples in readme to Querydsl 4 syntax May 30, 2016
pom.xml Bump version Sep 5, 2016

Querydsl JDO

The JDO module provides integration with the JDO API.

Maven integration

Add the following dependencies to your Maven project :




And now, configure the Maven APT plugin which generates the query types used by Querydsl :


The JDOAnnotationProcessor finds domain types annotated with the javax.jdo.annotations.PersistenceCapable annotation and generates Querydsl query types for them.

Run clean install and you will get your Query types generated into target/generated-sources/java.

If you use Eclipse, run mvn eclipse:eclipse to update your Eclipse project to include target/generated-sources/java as a source folder.

Now you are able to construct JDOQL query instances and instances of the query domain model.


Querying with Querydsl JDO is as simple as this :

QCustomer customer = QCustomer.customer;
JDOQuery<?> query = new JDOQuery<Void>(pm);
Customer bob =

For more information on the Querydsl JDO module visit the reference documentation