-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Easy way to print all statistics?
PostPosted: Thu Feb 17, 2005 2:51 pm 
Pro
Pro

Joined: Fri Nov 19, 2004 5:52 pm
Posts: 232
Location: Chicago, IL
Hibernate version: hibernate-3.0beta4

I just figured out how to print out some of the basic statistics like entity load and fetch counts (pretty cool, I think this will be useful). I'm wondering if there is an easy way to print all statistics out? I'm thinking about writing my own little print function that I could use for debugging purposes, but, I figured I'd check to see if there might be a way to do it that is already built into Hibernate. I was thinking that it would be nice if the Statistics classes had a toString() method that does this.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 17, 2005 3:03 pm 
Pro
Pro

Joined: Fri Nov 19, 2004 5:52 pm
Posts: 232
Location: Chicago, IL
Oops, I spoke too soon, sorry, I see the logStatistics() method now...


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.