What should be done for auto generating primary key id in a table ?


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

Post New Answer

More JDBC Interview Questions

What does jdbc stand for?

0 Answers  


how to retrieve sql exceptions

2 Answers   Bosch,


Explain about the Try Block?

0 Answers  


Why we use while rs next ())?

0 Answers  


What is the difference between jdbc and odbc?

0 Answers  






What is two-phase commit in the database?

0 Answers  


What class.forname does, while loading the drivers?

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,


What is the different between ResultSet and RowSet?

0 Answers  


Why can't I invoke the ResultSet methods afterLast and beforeFirst when the method next works?

0 Answers  


What type of drivers have you used?

1 Answers  


What are the components of jdbc?

0 Answers  


Categories