Hello,
Is it possible to use generated query for count and if so, how is it done?
I was expecting Long countByFlagIsNotNull() to work, but instead I had to
add Query annotation like this:
@Query("select count(m) from Message m where m.flag is not null")

/Johannes

-- 
Johannes Häyry, Vaadin Expert
Vaadin.com <https://vaadin.com> - +358 443 564 403 - skype:johannes_vaadin

Reply via email to