add hibernate metric statistics. updated version for latest lib version.