Querydsl

Reference Documentation

Timo Westkämper

Samppa Saarela

Vesa Marttila

1.8.5

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. Ant integration
2.1.3. Using query types
2.1.4. Querying with JDOQL
2.1.5. General usage
2.1.6. Ordering
2.1.7. Grouping
2.1.8. Delete clauses
2.1.9. Subqueries
2.1.10. Using Native SQL
2.2. Querying JPA sources
2.2.1. Maven integration
2.2.2. Ant integration
2.2.3. Using query types
2.2.4. Querying
2.2.5. Using joins
2.2.6. General usage
2.2.7. Ordering
2.2.8. Grouping
2.2.9. Delete clauses
2.2.10. Update clauses
2.2.11. Subqueries
2.2.12. Exposing the original query
2.2.13. Using Native SQL in Hibernate queries
2.3. Querying Collections
2.3.1. Usage without generated query types
2.3.2. Usage with generated query types
2.3.3. Maven integration
2.3.4. Ant integration
2.4. Querying SQL/JDBC sources
2.4.1. Creating the Querydsl query types
2.4.2. Maven integration
2.4.3. Querying
2.4.4. General usage
2.4.5. Ordering
2.4.6. Grouping
2.4.7. Union queries
2.4.8. Query extension support
2.4.9. Using DDL commands
2.4.10. Using Data manipulation commands
2.4.11. User types
2.5. Querying Lucene sources
2.5.1. Creating the Querydsl query types
2.5.2. Querying
2.5.3. General usage
2.5.4. Ordering
2.5.5. Limit
2.5.6. Offset
2.6. Querying Hibernate Search sources
2.6.1. Creating the Querydsl query types
2.6.2. Querying
2.6.3. General usage
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 in query types
3.3.5. Delegate methods
3.4. Inheritance in Querydsl types
3.5. Alias usage
3.6. Dynamic path usage
3.7. Parameters
4. Troubleshooting
4.1. Insufficient type arguments
4.2. JDK5 usage