File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes PreparedStatement caching Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "PreparedStatement caching" Watch "PreparedStatement caching" New topic
Author

PreparedStatement caching

Edy Yu
Ranch Hand

Joined: Nov 21, 2000
Posts: 264
One of the reasons to use PreparedStatement other than Statement is that PreparedStatement is implicitly cached, thus provides better performance.
But according to Oracle 9i JDBC Driver, by default, the implicit statement caching was disabled. Does this mean we have to enable the implicit statement caching on the connection first?
Thanks in advance.


SCJP, SCJD, SCWCD, SCBCD, SCEA, IBM Certified Enterprise Developer, WebSphere Studio V5.0
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: PreparedStatement caching