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 basic exceptions in jdbc?

530


How can we maintain the integrity of a database by using jdbc?

538


How to check jdbc connection in linux?

517


What is jdbc in dbms?

503


What is resultset in jdbc with example?

499






What should be done for auto generating primary key id in a table ?

533


How can we execute stored procedures using callablestatement?

475


java based application for hospital management

3449


Is jdbc connection secure?

512


How can I connect mysql or oracle with java?

556


Is jdbc a web technology?

496


Why “no suitable driver” error occurs?

622


What is the JDBC?

560


How do I retrieve a whole row of data at once, instead of calling an individual ResultSet.getXXX method for each column?

600


What happens if we don't close the connection in jdbc?

490