Skip to content
Unified Queries for Java http://www.querydsl.com
Java Scala XSLT CSS Clojure Shell
Find file
Latest commit e47ad11 @timowest timowest Bump version
Failed to load latest commit information.
devops Fix config
querydsl-ant-test Normalize line endings to lf
querydsl-apt Bump version
querydsl-codegen Bump version
querydsl-collections Bump version
querydsl-core Bump version
querydsl-docs Bump version
querydsl-examples Bump version
querydsl-hibernate-search Bump version
querydsl-jdo Bump version
querydsl-jpa-codegen Bump version
querydsl-jpa Bump version
querydsl-lucene3 Bump version
querydsl-lucene4 Bump version
querydsl-lucene5 Bump version
querydsl-maven-plugin Bump version
querydsl-mongodb Bump version
querydsl-scala Bump version
querydsl-spatial Bump version
querydsl-sql-codegen Bump version
querydsl-sql-spatial Bump version
querydsl-sql-spring Bump version
querydsl-sql Bump version
src/main Prevent junit.framework usage
travis Reorder cubrid install steps
.gitattributes Normalize line endings to lf
.gitignore Ignore project configuration files for NetBeans
.travis.yml Add Hibernate 5 build
LICENSE.txt Normalize line endings to lf
README.md Add Stack Overflow badge
dist.sh Release script
docs.sh Fix paths
pom.xml Bump version
release.sh Release script

README.md

Querydsl

Querydsl is a framework which enables the construction of type-safe SQL-like queries for multiple backends including JPA, MongoDB and SQL in Java.

Instead of writing queries as inline strings or externalizing them into XML files they are constructed via a fluent API.

Build Status Coverage Status Stackoverflow

Getting started

Use these tutorials to get started

Examples

Querydsl example projects

Support

Free support is provided in the Querydsl Google Group and on StackOverflow.

How to build

Querydsl provides releases via public Maven repositories, but you can also build the sources yourself like this

$ mvn -DskipTests=true clean install

For more information visit the project homepage at http://www.querydsl.com/.

Vagrant/Puppet setup

For running tests, a Vagrant/Puppet setup is provided. It is based on Ubuntu 12.04 and comes with the following databases:

  • Oracle Express Edition 11g
  • PostgreSQL 9.1.10
  • MySQL 5.5.34
  • Cubrid 9.2

You will need to install VirtualBox, Puppet, Vagrant, the vagrant-vbguest plugin and librarian-puppet. You will also need to download the Oracle XE 11g installer file (oracle-xe-11.2.0-1.0.x86_64.rpm.zip) manually and place it in the devops directory.

To launch the virtual machine:

$ cd devops
$ librarian-puppet install
$ vagrant up

All of the databases' default ports are forwarded to the host machine. See the Vagrantfile for details.

How to contribute

GitHub pull requests are the way to contribute to Querydsl.

If you are unsure about the details of a contribution, ask on the Querydsl Google Group or create a ticket on GitHub.

Continuous integration

Querydsl uses Cloudbees for Jenkins based CI

CloudBees

As well as Travis CI for pull request validation

Build Status

Something went wrong with that request. Please try again.