...
The gquery and gprocedure components of the grepo framework can be easily configured to enable for statistics. See the getting started guides for the gquery Generic Query (hibernteHibernte/jpaJpa) and gprocedure Generic Procedure components for details.