Wrapping is very useful as it also helps J2EE application server implementers to add support for prepared statements in a sensible way. When an application calls Connection.prepareStatement, it is returned a PreparedStatement object by the driver. The application then keeps the handle while it has the connection and closes it before it closes the connection when the request finishes. However, after the connection is returned to the pool and later reused by the same, or another application, , then ideally, we want the same PreparedStatement to be returned to the application
by
s2dev
2007-06-11 03:02
JavaEE
·
JDBC
·
prepared-statement
·
adms
http://www.theserverside.com/tt/articles/article.tss?l=Prepared-Statments
-
cached
-
mail it
-
history