preparedstatement p= new preparedstatement
is it possible ?

Answer Posted / abc

No,Syntax..............
PreparedStatement st=con.prepareStatement("query");
Thanks!

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is jdbc dialect?

509


How to make updates to updatable result sets in jdbc?

496


Explain the main method?

571


What is hbm xml?

495


How can you make a connection?

539






What are drivers available?

620


What are the differences between resultset and rowset?

530


Is jdbc secure?

514


What are the differences between statement and preparedstatement interface?

526


How many categories of jdbc drivers are there?

489


What is the meaning of “dirty read” in the database?

567


Once I have the Java 2 SDK, Standard Edition, from Sun, what else do I need to connect to a database?

546


What is the full form of jdbc and what is its purpose?

545


What is ojdbc14 jar?

502


How can you retrieve data from the resultset using jdbc?

557