Which rows are returned will depend on the database. You'd have to check the docs specific to the DB you're using, but my guess is it'll all be DB-specific, and you'd need a custom query to do it with an ORM framework.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.