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 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" Watch "statement" New topic


selvi parthu

Joined: Feb 02, 2006
Posts: 9
What is the meaing of "precomplied statements"?
stu derby
Ranch Hand

Joined: Dec 15, 2005
Posts: 333
Originally posted by chellam selvi:
What is the meaing of "precomplied statements"?

"precompiled statements" in a JDBC-context probably refers to using PreparedStatements (as opposed to regular Statements). PreparedStatements, used with the data-binding setXXX methods, are usually much more efficient to use than regular Statements, although that depends a lot on your database/driver combination.
I agree. Here's the link:
subject: statement