Subject | Re: RC3 |
---|---|
Author | Roman Rokytskyy <rrokytskyy@acm.org> |
Post date | 2003-02-06T21:28:48Z |
> Is it Jaybird that will not have to support PreparedStatementAnd one more thing: this chapter applies to connection pool and not
> pooling in the future?
> JDBC 3.0 spec, mentions that PreparedStatements may be reusable (see
> section 11.6). It is/will be possible to check if a datasource
> supports poolable PreparedStatements by calling
> DatabaseMetaData.supportsStatementPooling().
to the core driver. Statement pooling happens inside PooledConnection
instance and not inside the driver. Method
DatabaseMetaData.supportsStatementPooling() is overriden by
Connection wrapper from the pool and gives application a hint if
prepared statements are pooled or not. This behavior is supported in
connection pool I wrote at work, and, afaik, in PoolMan too.
Best regards,
Roman Rokytskyy