-->
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.  [ 3 posts ] 
Author Message
 Post subject: in book 'Hibernate in action' about log4j.properties entry
PostPosted: Tue Aug 24, 2004 11:36 am 
Newbie

Joined: Fri Aug 20, 2004 5:19 am
Posts: 14
Good morning

in chapter 2 of the book hibernate in action, paragraph 2.4.3 "logging"

in the log4j.properties example given, there are the following lines:

### log PreparedStatement cache activity
log4j.logger.net.sf.hibernate.ps.PreparedStatementCache=info

but according to the hibernate javadoc available on line (hibernate.org), the corresponding
class PreparedStatementCache does not exist.

Any ideas ?

thank you


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 24, 2004 11:41 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
This is actually an error in the book... caching of prepared statements is now the job of the JDBC driver/connection pool.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 25, 2004 3:54 am 
Newbie

Joined: Fri Aug 20, 2004 5:19 am
Posts: 14
Thank you Christian for your efforts for the community


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