devhub
devhub copied to clipboard
Migration to query dsl 4
Querydsl moved to a new domain and has a new version out.
The main issue is that .exists(); is gone in the newer version The closest I could translate this is: .fetchCount() > 0;
I opted for the fail fast FetchOne instead of FetchFirst, but this is debatable.
Further more map is no longer supported since they didn't like the usage of it and has become a group by.