Which constraint cannot be specified as an explicit constraint and should be specified with the column only ?


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

Post New Answer

More JDBC Interview Questions

What is execute in java?

0 Answers  


Is jdbc open source?

0 Answers  


What do you mean by jdbc batch processing and what are the advantages of using jdbc batch processing?

0 Answers  


What are drivers available?

0 Answers  


What is jdbc and its types?

0 Answers  






What is jdbc driver in java?

0 Answers  


What happens if connection is not closed in jdbc?

0 Answers  


what is the difference between SENSITIVE and INSENSITIVE?

1 Answers  


What are the differences between setmaxrows(int) and setfetchsize(int)?

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,


How can we retrieve data from the resultset?

0 Answers  


Statement, PrepareStatement and Callable all these are interfaces. Thought it is a interface how come we are creating objects and calling methods("preparestatement()") in it. In which class this method is defined. Please let me know. Thanks in advance. example: PreparedStatement pre = con.prepareStatement( "UPDATE COFFEES SET SALES = ? WHERE COF_NAME LIKE ?");

2 Answers  


Categories