What are the classes and methods used for sending sql statements to database?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More JDBC Interview Questions

How can we store and retrieve images from the database?

0 Answers  


Why can't Tomcat find my Oracle JDBC drivers in classes111.zip?

0 Answers  


how you will execute the many tables data

1 Answers   Wipro,


Is jdbc a web technology?

0 Answers  


What is odbc and jdbc in dbms?

0 Answers  


Where can I find ojdbc14 jar file?

0 Answers  


What are the main components of JDBC ?

0 Answers  


What class.forname does, while loading the drivers?

0 Answers  


How to get a whole row of data at once?

2 Answers  


how can we get the metaData (columnNames) from a table which has no Records..

2 Answers  


How can I get information about foreign keys used in a table?

0 Answers  


Hi my doubt is that preparedStatement is a interface means which has no implemenation.plz go thru the code below String sql = "SELECT * FROM movies WHERE year_made = ?"; prest = con.prepareStatement(sql); prest.setInt(1,2002); ResultSet rs1 = prest.executeQuery(); Now setInt and executeQuery how it works since it is interface it does not have implementation how it works, how executeQuery returns result from database as executequery method has no implementation even in Statement interface.

4 Answers   Cybermate, Hexaware,


Categories