When you say "the impact of this will depend on the capability of your JDBC driver", does it mean that the impact can be negative with some JDBC drivers or just that there could be no gain in performance with some JDBC drivers ?
Is there any known major database (I'm thinking Posgres, Oracle, SqlServer, DB2) having JDBC drivers not supporting shared prepared statements ? (I cannot really find this information on the web).
For the second part, if I understand correctly:
If we always use PreparedStatement in the same manner in all of our code by just instanciating it this way :
PreparedStatement statement = connection.prepareStatement(...)
and not modifying at all its default configuration (which means that it will be always marked as poolable when created, as this is the default value).
-> It means there should be no problem at all to set 'shared-pepared-statements' to true, right ?
Thanks a lot ;)
Olivier Masseau