发布于 2014-08-17 15:00:57 | 422 次阅读 | 评论: 0 | 来源: 网友投递
Querydsl SQL查询构建工具
Querydsl是一个Java开源框架用于构建类型安全的SQL查询语句。它采用API代替拼凑字符串来构造查询语句。可跟 Hibernate 和 JPA 等框架结合使用。
Querydsl是一个Java开源框架用于构建类型安全的SQL查询语句。它采用API代替拼凑字符串来构造查询语句。可跟 Hibernate 和 JPA 等框架结合使用。
github: https://github.com/querydsl/querydsl
3.4.2 (29.7.2014) 主要更新内容如下:
1.Remove delegate methods cache in querydsl-apt
2.type argument is not within bounds of type-variable Q
3.Regex improvements break Java 6 compatibility
4.JPADeleteClause not supporting setLockMode
5.Enable numeric mappings with ranges
6.code generation problem
7.AbstractSQLQuery.getResults() is not correct on return values
8.SQL Server 2012: exists() should generate ORDER BY clause
9.Code generation should use JDBC constants
10.Issue with using select when using a union
11.BatchSQLInsert weird behaviour
12.MongodbQuery#list() is calling cursor.size() which is an additional query