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 a rollback in jdbc?
What are the 4 types of jdbc drivers?
What's the benefit for specifying constraints like not null, primary key explicitly instead of specifying it against the column ?
Which type of driver is unique in jdbc?
Is jdbc a protocol?
What are the differences between setmaxrows(int) and setfetchsize(int)?
What is setautocommit in jdbc?
Is jdbc an api?
What is metadata in programming?
How do I retrieve a whole row of data at once, instead of calling an individual ResultSet.getXXX method for each column?
What is jdbc type?
Name different methods for getting streams.
How can we execute stored procedures?
Is possible to open a connection to a database with exclusive mode with JDBC?
What is jdbc connection string?