Is it possible to build following SQL statement in Hibernate HQL?
SELECT COUNT(*) FROM table;
Of course it is:
select count(e) from Entity e;
Such answers are very easily findable in the reference manual.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With