-->
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: JDBC Driver/Connection Pool - Prepared Statement Cache
PostPosted: Fri Sep 01, 2006 8:06 am 
Newbie

Joined: Mon Jun 19, 2006 5:35 am
Posts: 14
Hi all,

I'm trying to activate prepared statement caching for my hibernate application. As far as I remember I need a jdbc driver and/or a connection pool which allows this. However I cannot find such a thing. Can anybody point me into the same direction !?

Also, I think I've seen a property / hibernate setting to turn on prepared statement caching, but also here I cannot find this thing again...

Thanks in advance :-)
Holger


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 01, 2006 9:22 am 
Newbie

Joined: Mon Jun 19, 2006 5:35 am
Posts: 14
Think I've got it myself...

http://www.hibernate.org/hib_docs/refer ... ation.html

"You must set the properties hibernate.dbcp.* (DBCP connection pool properties) to enable the DBCPConnectionProvider. Prepared statement caching is enabled (highly recommend) if hibernate.dbcp.ps.* (DBCP statement cache properties) are set."

...


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.