Explain the sequence of steps to connect to the database?
Answer Posted / devarathnam c,kotagudibanda(po
Hi... These are the steps to connecting to the database
1: Loading the drivers
2:Get the connection
3:Create the statement
4:Execute the query
5:Process the resultset
6:Close the connection
| Is This Answer Correct ? | 18 Yes | 0 No |
Post New Answer View All Answers
What is device controller?
What is an advantage of using the jdbc connection pool?
What is jdbc vs odbc?
Does jdbctemplate close connection?
Is jdbc faster than hibernate?
What is meant by jdbc and odbc?
What is meant by jdbc?
What does executequery return in java?
Does JDBC support stored procedures?
What is database deadlock ?
Does jdbc require oracle client?
What is jdbc type?
What class.forname does, while loading the drivers?
How do we call a stored procedure from jdbc?
Name different methods for getting streams.