code to insert values/rows into oracle database from a java
swing textfield when a button is pressed(using
preparedstatements)


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

Post New Answer

More JDBC Interview Questions

write a query to select name from one table which has id,name and salary from another table which has id, sal where the salary is the second maximum

3 Answers   Bosch, HireCraft, Infosys,


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,


How do find debugging problems related to JDBC API?

1 Answers  


What are the ddl statements?

0 Answers  


callable is interface or class ?

9 Answers   Fidelity,






How many types of jdbc drivers are there?

0 Answers  


What are the different types of JDBC drivers?

0 Answers  


What is the use of prepared statement?Ans:used to execute pre compiled statement...so the question is when that precompiled statement will be execute or comiple?................

6 Answers   TCS,


What do you understand by DDL and DML statements?

0 Answers  


What is jdbc connection?

0 Answers  


What is the role of the jdbc drivermanager class?

0 Answers  


What is JDBC DataSource and what are it’s benefits?

0 Answers  


Categories