preparedstatement p= new preparedstatement
is it possible ?

Answer Posted / suresha

No,It should be following syantx

Preparestatement ps=con.preparestament("some query");

Is This Answer Correct ?    13 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the steps involved in establishing a connection using jdbc in java?

518


What is DML?

574


What is the purpose of jdbc resultset interface?

571


What are the differences between statement and preparedstatement interface?

519


What is the full form of jdbc?

494






What is an SQL Locator?

588


Does jdbctemplate use prepared statements?

512


Which is better jpa or jdbc?

504


Briefly tell about the jdbc architecture.

554


What is jdbc drivers in java?

495


What is database deadlock ?

540


What is com mysql jdbc driver?

499


What do you mean by two phase commits?

566


What do you mean by odbc?

550


Which package is used for jdbc application?

515