GeeCON Prague 2014*
The moose likes JDBC 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
Bookmark "PreparedStament and Statement" Watch "PreparedStament and Statement" New topic
Author

PreparedStament and Statement

Sakthi Kani
Ranch Hand

Joined: Mar 29, 2005
Posts: 98
Hi

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
Greenhorn

Joined: Nov 02, 2004
Posts: 25
refer this link http://www.jguru.com/faq/view.jsp?EID=693
or type your question in google and go through the urls to get convincing answer.
 
GeeCON Prague 2014
 
subject: PreparedStament and Statement