Querydsl is a framework that enables the construction of statically typed SQL-like queries. Instead of writing queries as inline strings or externalizing them into XML files, they can be constructed via a fluentDSL/API like Querydsl. It supports JPA, JDO, Java Collections, SQL via JDBC, Lucene, and Hibernate Search.
| Tags | Database Front-Ends |
|---|---|
| Licenses | LGPL |
| Implementation | Java JDO JPA Lucene jdbc mongodb |
| Translations | English |
Last announcement
If you have persistence / querying target that you feel would benefit from the type-safety of Querydsl describe your integration case at the forum ...
Recent releases


Release Notes: EclipseLink support was improved. UNION ALL support was added. Proper OSGI metadata was added in artifacts.


Release Notes: This release adds a common Factory class for FactoryExpression creation. It adds field access to QBean. It fixes LuceneQuery.list() throwing an IllegalArgumentException from Lucene if nDocs is 0.


Release Notes: Scala support was added. Eclipse IDE support was improved. Initial Mongodb support was added. The Expression model was improved.


Release Notes: Bean generation and foreign key issues were improved. Bean generation annotation usage was improved.


Release Notes: No-arg methods are now cached in Q-types. PEntity is no longer used for embeddable Q-types. QueryMetadata was made serializable. For JPA, constructor projection doesn't always work. For SQL, there is generic access to schema metadata in Q-types, and support was added for special options in DML clauses. The reference documentation was restructured.