Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

statement

 
selvi parthu
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the meaing of "precomplied statements"?
 
stu derby
Ranch Hand
Posts: 333
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic