Querydsl

Reference Documentation

Timo Westkämper

Samppa Saarela

Vesa Marttila

Lassi Immonen

2.3.2

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 Apache License, Version 2.0.


Table of Contents

Preface
1. Introduction
1.1. Background
1.2. Principles
2. Tutorials
2.1. Querying JPA
2.1.1. Maven integration
2.1.2. Ant integration
2.1.3. Generating the model from hbm.xml files
2.1.4. Using query types
2.1.5. Querying
2.1.6. Using joins
2.1.7. General usage
2.1.8. Ordering
2.1.9. Grouping
2.1.10. Delete clauses
2.1.11. Update clauses
2.1.12. Subqueries
2.1.13. Exposing the original query
2.1.14. Using Native SQL in Hibernate queries
2.2. Querying JDO
2.2.1. Maven integration
2.2.2. Ant integration
2.2.3. Using query types
2.2.4. Querying with JDOQL
2.2.5. General usage
2.2.6. Ordering
2.2.7. Grouping
2.2.8. Delete clauses
2.2.9. Subqueries
2.2.10. Using Native SQL
2.3. Querying SQL
2.3.1. Creating the query types
2.3.2. Maven integration
2.3.3. ANT integration
2.3.4. Querying
2.3.5. General usage
2.3.6. Joins
2.3.7. Ordering
2.3.8. Grouping
2.3.9. Using Subqueries
2.3.10. Query extension support
2.3.11. Using DDL commands
2.3.12. Using Data manipulation commands
2.3.13. Batch support in DML clauses
2.3.14. Bean class generation
2.3.15. Custom syntax expressions
2.3.16. Custom types
2.4. Querying Lucene
2.4.1. Creating the query types
2.4.2. Querying
2.4.3. General usage
2.4.4. Ordering
2.4.5. Limit
2.4.6. Offset
2.4.7. Fuzzy searches
2.4.8. Applying Lucene filters to queries
2.5. Querying Hibernate Search
2.5.1. Creating the Querydsl query types
2.5.2. Querying
2.5.3. General usage
2.6. Querying Mongodb
2.6.1. Maven integration
2.6.2. Querying
2.6.3. General usage
2.6.4. Ordering
2.6.5. Limit
2.6.6. Offset
2.6.7. Geospatial queries
2.7. Querying Collections
2.7.1. Usage without generated query types
2.7.2. Usage with generated query types
2.7.3. Maven integration
2.7.4. Ant integration
2.8. Querying in Scala
2.8.1. DSL expressions for Scala
2.8.2. Improved projections
2.8.3. Querying with SQL
2.8.3.1. Compact queries
2.8.3.2. Code generation
2.8.4. Querying with other backends
3. General usage
3.1. Expressions
3.1.1. Custom expressions
3.1.2. Custom projections
3.1.3. Inheritance in Querydsl types
3.1.4. Constructor projections
3.1.5. Complex boolean expressions
3.1.6. Case expressions
3.1.7. 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. Delegate methods
3.2.5. Query type generation for non annotated types
3.3. Best practices
3.3.1. Use default variable of the Query types
3.3.2. Custom query extensions
3.3.3. DAO integration
3.4. Alias usage
4. Troubleshooting
4.1. Insufficient type arguments
4.2. JDK5 usage