devhub-tud / devhub

DevHub is a software system designed to give students a simple practical introduction into modern software development.
15 stars 8 forks source link

Migration to query dsl 4 #417

Open LiamClark opened 7 years ago

LiamClark commented 7 years ago

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.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.03%) to 56.131% when pulling 561540b6287c57e46e63bdc07f904aa0b920c031 on LiamClark:query-dsl into b5c3e4cbbdb8c522852c871121c03ae687eec021 on devhub-tud:master.