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


Please Help Members By Posting Answers For Below Questions

How many ways that we can view a result set?

528


What is the use of dialect?

562


What is jsp and jdbc?

487


Explain about the Try Block?

552


How do I find whether a parameter exists in the request object?

490






What is the difference between ojdbc6 and ojdbc7?

465


What is jdbc driver for sql server?

530


What is the full form of jdbc and what is its purpose?

532


How to get the Database server details in java program?

567


What are the measures to connect to the db using jdbc?

458


Why is jdbc used?

516


Where can I find info, frameworks and example source for writing a JDBC driver?

505


Explain how data flows from view to db and reverse

1626


What is com mysql jdbc driver?

494


How can we store and retrieve images from the database?

507