title: How to enable db2 driver statement caching?
body: <p>I am aware that I can enable db2 driver's statement caching by adding a property in jdbcurl. But I did some research, I've got some properties:</p>
  
  <p><a href="https://docs.oracle.com/cd/E17904_01/web.1111/e13753/db2.htm#JDBCD148" rel="nofollow noreferrer">this link </a> said:</p>
  
  <pre><code>MaxPooledStatements
  MaxStatements
  </code></pre>
  
  <p><a href="https://www.ibm.com/support/knowledgecenter/SSEPGG_10.5.0/com.ibm.db2.luw.apdv.java.doc/src/tpc/imjcc_r0052607.html" rel="nofollow noreferrer">this link</a> said:</p>
  
  <pre><code>com.ibm.db2.jcc.DB2ConnectionPoolDataSource.maxStatements
  </code></pre>
  
  <p>I've got confused, which one should I use? And is the property vary from a  version of the driver to another?</p>
  
  <p>ps: My driver is db2jcc4-10.1.jar </p>