A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Elasticsearch in Action
this week in the
JDBC and Relational Databases
PreparedStament and Statement
Joined: Mar 29, 2005
Jul 29, 2005 04:41:00
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
, 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
Joined: Nov 02, 2004
Jul 29, 2005 07:56:00
refer this link
or type your question in google and go through the urls to get convincing answer.
I agree. Here's the link:
subject: PreparedStament and Statement
benefit of Statement over PreparedStatement?
Filtering Data to prevent SQL Injection
Statement, PreparedStatement, CallableStatement
PreparedStatement's executeQuery() returning resultset with no rows
benefit of PreparedStatement if closed due to error: maximum open cursors exceeded
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015