preparedstatement p= new preparedstatement
is it possible ?

Answer Posted / chandrakala

No, the statement must be look like this

PreparedStatement p=new perpareStatement("query");

Is This Answer Correct ?    6 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is jdbc in java?

493


Why would you use setautocommit(false) in jdbc?

670


What is jdbc connection class?

476


Give an example for getXXX method?

559


What are the conditions applies to varchar variable, when using in procedures?

1620






Is java a database?

508


List some new features available in jdbc 4.0?

484


Which database is used for java?

530


Which interface handles transaction management in jdbc?

574


Is jdbc a middleware?

510


What does connection pooling mean ?

579


How does JDBC API helps us in achieving loose coupling between Java Program and JDBC Drivers API?

621


What is @entity in java?

532


Which is better odbc or jdbc?

507


What is dburl?

586