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.  [ 4 posts ] 
Author Message
 Post subject: why the console couldnt show the sql when using the 2L cache
PostPosted: Mon Oct 31, 2005 5:01 am 
Newbie

Joined: Thu Jun 23, 2005 9:23 pm
Posts: 13
hi ,all!
now ,i am using the second cache(EhCache).but the console couldnt show the sql.in spite of the config has set the value true to the property of "hibernate.show_sql ".why?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 31, 2005 8:03 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
eh? could it be because it is now using the 2nd lvl cache and thus does not need to execute as much sql ?

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 31, 2005 9:41 pm 
Newbie

Joined: Thu Jun 23, 2005 9:23 pm
Posts: 13
hi,i don't think it is now using the 2nd lvl cache and thus does not need to execute as much sql .because when it first execoute the programme ,the console doesn't show the sql yet. as we know ,the sql will be show when excuting (e.g session.load()) programme.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 31, 2005 9:44 pm 
Newbie

Joined: Thu Jun 23, 2005 9:23 pm
Posts: 13
hi,i don't think it is because it is using the 2L cache and thus does not need to execute as much sql .because when it first execute the programme ,the console doesn't show the sql yet. as we know ,the sql will be show when excuting (e.g session.load()) programme.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.