How can I count objects in Eclipse Mcl using OQL syntax? This does not work:
SELECT count (a) FROM org.hibernate.engine.EntityEntry a
WHERE (toString (a.entityName) = "my.pojo")
(I want to count the number of sleeping pojos loaded into memory)
There must be a very quick way to do this ... Thanks for helping me!
source share