What is connection data?
No Answer is Posted For this Question
Be the First to Post Answer
What is executequery in java?
If you are given a choice to implement the code to either insert a record or update if already exist, which approach will you follow ?
what is the meaning of following code snippets Class c=class.forName(driverClassName); Driver d=(driver)c.newInstance();
What does executeupdate return in jdbc?
What types of DataSource objects are specified in the Optional Package?
Expalin the method of calling a stored procedure from jdbc.
What is <discriminator > in Hibernate? How exactly inheritance of Object to Tables can be done? What is the benefits of discriminator?
What do you mean by batch processing in jdbc?
what is JDBC?
How java can be connected to a database?
What are the main steps in java to make JDBC connectivity?
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,