-->
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: prepared stmt caching using c3p0 Vs com.mysql.jdbc.Driver
PostPosted: Thu Jul 03, 2008 6:10 am 
Newbie

Joined: Thu Jul 03, 2008 2:38 am
Posts: 1
Hi

I basically want my db connections to cache prepared statements, and I am using mysql.

What is the difference in setting '
Code:
c3p0.max_statements
' in hibernate.cfg.xml vis-a-vis setting '
Code:
cachePrepStmts
' and '
Code:
prepStmtCacheSize
' as JDBC URL parameters.

Is there any obvious advantages to using either?
Or are they both required??

Thanks.
I didn't know where else to ask - but I believe it is important to understand this.

Thanks again.


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.