title: Pooling PreparedStatement on Tomcat with MySQL
body: <p>When using Tomcat with MySQL, what is the relationship between poolPreparedStatements setting in Tomcat DataSource configuration (I believe coming from DBCP) and Connector/J <a href="http://dev.mysql.com/doc/refman/5.0/en/connector-j-reference-configuration-properties.html" rel="nofollow">cachePrepStmts</a> setting? What's the optimal configuration?</p>