what are the steps in JDBC connectivity..???

Answer Posted / kapil

1.Load the Driver
2.Create Connection
3.Use Statement,PreparedStatement,CallableStatement for the
Querry
4.Use ResultSet to print the data...

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is reflection api? How are they implemented?

742


Are streams faster than for loops?

656


Do I need both jdk and jre?

697


What is the difference between lambda expression and anonymous methods?

660


What is profile in java?

623


What is a cookie in java?

708


What is a dao layer in java?

638


What does el mean in java?

784


How do I run a project in eclipse?

647


Does jvm maintain a cache by itself? Does the jvm allocate objects in heap? Is this the os heap or the heap maintained by the jvm? Why

647


What is type_scroll_insensitive in java?

683


What is the difference between a while statement and a do statement?

690


What is dto layer in java?

653


How does jpa repository work?

708


In java thread programming, which method is a must implementation for all threads?

731