Querydsl

Reference Documentation

Timo Westkämper

Samppa Saarela

1.1.0

Legal Notice

Copyright © 2007-2009 by Mysema Ltd. This copyrighted material is made available to anyone wishing to use, modify, copy, or redistribute it subject to the terms and conditions of the GNU Lesser General Public License, as published by the Free Software Foundation.


Table of Contents

Preface
1. Introduction
1.1. Background
1.2. Principles
2. Getting started with Querydsl
2.1. Querying JDO sources
2.1.1. Maven integration
2.1.2. Using query types
2.1.3. Querying with JDOQL
2.1.4. General usage
2.1.5. Ordering
2.1.6. Grouping
2.1.7. Delete clauses
2.1.8. Subqueries
2.2. Querying JPA/Hibernate sources
2.2.1. Maven integration
2.2.2. Using query types
2.2.3. Querying with HQL
2.2.4. Using joins
2.2.5. General usage
2.2.6. Ordering
2.2.7. Grouping
2.2.8. Delete clauses
2.2.9. Update clauses
2.2.10. Subqueries
2.2.11. Exposing the original query
2.3. Querying Collections
2.3.1. Make the Querydsl collections API available in your class
2.3.2. Use the simple API
2.3.3. Use the full API
2.3.4. Use the factory methods
2.3.5. Use the alias features
2.4. Querying SQL/JDBC sources
3. General usage
3.1. Best practices
3.1.1. Use default variable of the Query types
3.1.2. Interface based usage
3.1.3. Custom query extensions
3.1.4. DAO integration
3.2. Special expressions
3.2.1. Constructor projections
3.2.2. Complex boolean expressions
3.2.3. Case expressions
3.3. Customizations
3.3.1. Path initialization
3.3.2. Customization of serialization
3.3.3. Custom type mappings
3.3.4. Custom methods
3.4. Inheritance in Querydsl types
3.5. Alias usage
3.6. Dynamic path usage
4. Troubleshooting
4.1. Insufficient type arguments
4.2. JDK5 usage