Quarkus: Support QueryDSL in Panache

Created on 14 Sep 2019  路  3Comments  路  Source: quarkusio/quarkus

QueryDSL is very popular in developer communities, as an alternative of JPA APIs, it is better to add it in Quarkus.

arepanache kinenhancement

Most helpful comment

Optional predicates #2303 and type safe HQL might be a good replacement for QueryDSL. We looked at QueryDSL but it does not seem to be maintained anymore, that's why we hesitated to invest in it. If you can be a bit patient, let's see if the solution ^ solves your problems. Or you can try and contribute QueryDSL to Quarkus.

https://github.com/querydsl/querydsl/issues/2459#issuecomment-555430030
As this post suggests QueryDSL is again maintained by a small team separate from the previous owner, however, the assumption that they would succeed is fragile.

Personally, my benefit from Querydsl was build-time query checking and IDE code completion. I used it as a plugin for Spring Data (example here https://www.logicbig.com/tutorials/spring-framework/spring-data/query-dsl-basic.html), and it was awesome. But Querydsl is not a must have, If some other instrument will give me the same benefits and will be easy to use, I will deffinitely go for it.

Also, type-safe querries in Quarkus could be a good move in competition with Micronaut, since IMHO for now, they have better storage integration options.

All 3 comments

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you!
We are doing this automatically to ensure out-of-date issues does not stay around indefinitely.
If you believe this issue is still relevant please put a comment on it on why and if it truly needs to stay request or add 'pinned' label.

Optional predicates #2303 and type safe HQL might be a good replacement for QueryDSL. We looked at QueryDSL but it does not seem to be maintained anymore, that's why we hesitated to invest in it. If you can be a bit patient, let's see if the solution ^ solves your problems. Or you can try and contribute QueryDSL to Quarkus.

Optional predicates #2303 and type safe HQL might be a good replacement for QueryDSL. We looked at QueryDSL but it does not seem to be maintained anymore, that's why we hesitated to invest in it. If you can be a bit patient, let's see if the solution ^ solves your problems. Or you can try and contribute QueryDSL to Quarkus.

https://github.com/querydsl/querydsl/issues/2459#issuecomment-555430030
As this post suggests QueryDSL is again maintained by a small team separate from the previous owner, however, the assumption that they would succeed is fragile.

Personally, my benefit from Querydsl was build-time query checking and IDE code completion. I used it as a plugin for Spring Data (example here https://www.logicbig.com/tutorials/spring-framework/spring-data/query-dsl-basic.html), and it was awesome. But Querydsl is not a must have, If some other instrument will give me the same benefits and will be easy to use, I will deffinitely go for it.

Also, type-safe querries in Quarkus could be a good move in competition with Micronaut, since IMHO for now, they have better storage integration options.

Was this page helpful?
0 / 5 - 0 ratings