File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Statement and PreparedStatement Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Statement and PreparedStatement" Watch "Statement and PreparedStatement" New topic

Statement and PreparedStatement

Arun Kumar
Ranch Hand

Joined: Jan 21, 2005
Posts: 133

When should i use Statement and when should i use PreparedStatement?
Purushoth Thambu
Ranch Hand

Joined: May 24, 2003
Posts: 425
Check the Ranch FAQ on prepared statement.
I agree. Here's the link:
subject: Statement and PreparedStatement
It's not a secret anymore!