Querydsl

Reference Documentation

Timo Westkämper

Samppa Saarela

Vesa Marttila

Lassi Immonen

2.1.0

Legal Notice

Copyright © 2007-2011 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. Tutorials
2.1. Querying JDO
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
2.2.1. Maven integration
2.2.2. Ant integration
2.2.3. Generating the model from hbm.xml files
2.2.4. Using query types
2.2.5. Querying
2.2.6. Using joins
2.2.7. General usage
2.2.8. Ordering
2.2.9. Grouping
2.2.10. Delete clauses
2.2.11. Update clauses
2.2.12. Subqueries
2.2.13. Exposing the original query
2.2.14. 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. ANT integration
2.4.4. Querying
2.4.5. General usage
2.4.6. Ordering
2.4.7. Grouping
2.4.8. Using Subqueries
2.4.9. Query extension support
2.4.10. Using DDL commands
2.4.11. Using Data manipulation commands
2.4.12. Batch support in DML clauses
2.4.13. Bean class generation
2.4.14. Custom syntax expressions
2.4.15. Custom 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.5.7. Fuzzy searches
2.6. Querying Hibernate Search sources
2.6.1. Creating the Querydsl query types
2.6.2. Querying
2.6.3. General usage
2.7. Querying Mongodb
2.7.1. Maven integration
2.7.2. Querying
2.7.3. General usage
2.7.4. Ordering
2.7.5. Limit
2.7.6. Offset
3. General usage
3.1. Expressions
3.1.1. Inheritance in Querydsl types
3.1.2. Constructor projections
3.1.3. Complex boolean expressions
3.1.4. Case expressions
3.1.5. Dynamic path usage
3.2. Configuration
3.2.1. Path initialization
3.2.2. Customization of serialization
3.2.3. Custom type mappings
3.2.4. Custom methods in query types
3.2.5. Delegate methods
3.2.6. Query type generation for not annotated types
3.3. Best practices
3.3.1. Use default variable of the Query types
3.3.2. Interface based usage
3.3.3. Custom query extensions
3.3.4. DAO integration
3.4. Alias usage
4. Troubleshooting
4.1. Insufficient type arguments
4.2. JDK5 usage