java - How to use QueryDslPredicateExecutor? -
spring-data
offers querydslpredicateexecutor
, imports following statements:
import com.mysema.query.types.orderspecifier; import com.mysema.query.types.predicate;
the normal querydsl library be:
<dependency> <groupid>com.querydsl</groupid> <artifactid>querydsl-core</artifactid> <version>4.1.3</version> </dependency>
but in order make spring class work, i'd have use following one:
<dependency> <groupid>com.mysema.querydsl</groupid> <artifactid>querydsl-core</artifactid> <version>3.7.4</version> </dependency>
question: what's difference between them, , why have use different (unofficial??) dependency?
com.querydsl
root package querydsl 4.* , com.mysema.query
root package querydsl 3.*.
new versions of "spring data commons" use new root package. here link github commit
Comments
Post a Comment