Explain the sequence of steps to connect to the database?
Answer Posted / v.kannan
1.Register the Driver
2.Mention the Database Name
3.get the Connection through Driver Manager
4.send the Sql Query
5.get the result through ResultSet
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What is the function of setautocommit?
What is the purpose of jdbc?
What is the jdbc rowset?
Where is jdbc used?
How a database driver can be loaded with jdbc 4.0 / java 6?
What is JDBC API and when do we use it?
Is it possible to connect to multiple databases simultaneously? Using single statement can one update or extract data from multiple databases?
What is the advantage of namedparameterjdbctemplate?
Explain about column name and getter method?
What is metadata in programming?
What does the jdbc resultsetmetadata interface?
How to invoke Oracle Stored Procedure with Database Objects as IN/OUT?
What is jdbc url for mysql?
What do you understand by jdbc datasource?
What is jdbc stand for?