What is in term of jdbc a datasource?
Answer / Vijeta
In the context of JDBC, a DataSource is an object that encapsulates database connection creation, pooling, and management.
| Is This Answer Correct ? | 0 Yes | 0 No |
How does JDBC API helps us in achieving loose coupling between Java Program and JDBC Drivers API?
What do you understand by jdbc driver and explain its types?
State the three different ways in which you can create a table?
What causes the "No suitable driver" error?
Why we use jdbc instead of odbc?
DB2 Universal claims to support JDBC 2.0, But I can only get JDBC 1.0 functionality. What can I do?
What is getconnection method in java?
what are the types of result sets in JDBC 3.0 ?
What is Type-1 Driver and when this driver is used?
What is url in jdbc connection?
Is jdbc a web technology?
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,