can someone tell me how does preparedstatement works? its
an interface and where is the implementation?

Answer Posted / krishna

suppose if the string contains same select statement with
different set of values then fo for PreparedStatement..

ex:String str="select ename,eage from emp where ename=?";

yes it is interface provided by java soft people in their
api specification

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is java safe to download?

631


What is layout manager in java?

608


Which java ide is best?

675


What is the difference between load() and get()?

727


Hi Friends. I want complete technical flow of j2ee project with following technologies. jsp , servlet , Struts , Hibernate , (should follow mvc-2 design pattern) . with DAO ,DTO SERVICE layers .

4559






What is build file?

682


What are java front end tools?

660


What is digest authentication?

706


What is build tool in java?

657


What do you understand by business logic?

663


What is business logic?

697


Is visual studio good for java?

668


What is j2ee architecture?

629


Why java is called robust and secure?

660


What is j2ee tutorial?

671