-->
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.  [ 1 post ] 
Author Message
 Post subject: Statistics.getQueries() returns an empty array
PostPosted: Wed Oct 11, 2006 5:22 pm 
Newbie

Joined: Wed Oct 11, 2006 5:16 pm
Posts: 5
I don't think much of this applies except the version number, but I filled out what I could.

Anyways, I'm trying to run some statistics on my app, and was looking at the getQueries() method. I've got CollectionRoleNames and EntityNames working just fine, but I can't get anything to be returned in getQueries().

I assume it doesn't log each query - but then again it might. So how do I enable stat gathering on queries?

I'm using Hibernate 3.2.0.CR5 with the supported HAN/HEM.

Thanks!
Jason

Hibernate version:
3.2.0CR5

Mapping documents:
all done in annotations

Code between sessionFactory.openSession() and session.close():
using ejb3

Full stack trace of any exception that occurs:
n/a

Name and version of the database you are using:
mysql 5

The generated SQL (show_sql=true):
wish i knew ...

Debug level Hibernate log excerpt:
nada


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

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.