This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes PreparedStament and 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 "PreparedStament and Statement" Watch "PreparedStament and Statement" New topic

PreparedStament and Statement

Sakthi Kani
Ranch Hand

Joined: Mar 29, 2005
Posts: 98

Please tell me the difference between PreparedStatement and Statement.

I know PreparedStatement represents the precompiled SQL statement, But i donno when it will be compiled..

Please help me to clear.

Since I am new to JDBC, tell me the good book or website to get the clear concepts of jdbc.

Thanks in Advance..

" Don't be afraid of pressure. Remember that pressure is what turns a lump of coal into a diamond... " <br /> <br />Thanks & Regards...<br />Sakthi<br />SCJP1.4, OCA
sweta naidu

Joined: Nov 02, 2004
Posts: 25
refer this link
or type your question in google and go through the urls to get convincing answer.
Have you checked out Aspose?
subject: PreparedStament and Statement
jQuery in Action, 3rd edition