This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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

Win a copy of Elasticsearch in Action this week in the Big Data forum!
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