preparedstatement p= new preparedstatement
is it possible ?

Answer Posted / venkatesh

Correction. Syntax should be....

PreparedStatement ps = conn.prepareStatement("Query");

Thanks.

Is This Answer Correct ?    10 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the function of setautocommit?

654


What is jdbc drivers in java?

502


What is jndi lookup?

519


What is phantom read and which isolation level prevents it?

505


How to check jdbc driver version in sql server?

486






Explain the necessary steps to connect to the database in java?

554


What is the most common example type 1 driver?

598


What are the different types of resultset?

553


What is jdbc and jdbc drivers?

508


How to connect html page to database using jdbc?

496


What is the purpose of the jdbc resultset interface?

520


How do I set properties for a JDBC driver and where are the properties stored?

498


What is JDBC API and when do we use it?

574


What do you understand by DDL and DML statements?

508


What are the advantages of collection pools?

514