-->
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: Statistics in Hibernate Tools
PostPosted: Thu Oct 18, 2007 2:09 am 
Newbie

Joined: Mon Sep 18, 2006 8:44 am
Posts: 2
Hello. Sorry for my english. I wish I had used statistics in my Hibernate Console in Eclipse.

I'm using Hibernate Tools 3.2beta9.0 as Eclipse 3.2 plugin.

Hibernate configuration (including my configuration of my hibernate console) allows to collect query execution statistics by specifying corresponding property "hibernate.generate_statistics" to "true".

I've found interesting hibernate tools issue http://opensource.atlassian.com/project ... se/HBX-759.
It is a request of such statistics browser. This issue is closed. Fix's version is Hibernate Tools 3.2beta8, i.e. older than I have. But there is no statistics browser in my plugin. Why?

Will, it appears in Hibernate Tools? If yes, when it will be?

Sincerely, Vadim Gindin


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 18, 2007 4:19 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
No, we don't have statistics inside the eclipse plugin since it doesn't make that much sense.

the issue you point to is a class you can use from within your own app:

Code:
new org.hibernate.tool.stat.StatisticsBrowser().showStatistics(getSessions().getStatistics(), shouldBlock)


you just need to pass in a statistics object.

_________________
Max
Don't forget to rate


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.