-->
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: how to get the execution time of an sql statement ?
PostPosted: Mon Aug 29, 2005 12:31 pm 
Newbie

Joined: Fri May 20, 2005 2:42 am
Posts: 14
Code:
Hibernate Version : 3.0.5


Hello all,

i was wondering if it is possible to get the execution time for an sql
statement ? Showing the sql statements that hibernate executes
workes fine, but how can i get the time of the statement that was needed
to execute the statement
plus the time that hibernate needed to read and instantiate the data ?

Most interesting for me is the time hibernate needs to read the data
and to create the objects, because i need this for performance tests.

i can use the p6spy jdbc proxy, but i do not know if i can trust the
timestamps that i get for the results !?

any ideas ?

thanks in advance,
Andreas


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.