Does there exist a tool that will measure an applications usage (static code analysis I would assume) to measure things like:
count of jpa entity managers. count of jpa named queries. count of jpa non-named/non-native queries. count of jpa native queries (not using JPAQL). count of hibernate sessions. count of hibernate HQL queries. count of hibernate native queries. count of hibernate criteria queries. count of raw jdbc/connection usage.
I would think it would be useful to identify how much raw jdbc/connection usage may be going on, particularly if it is either not expected, or you have inherited a project and trying to migrate to hibernate or jpa.
TIA if such a tool exists
|