Answer Posted / vivek katta
Class.forName will basically load a class. As part of class loading, static variables
will be initialized and static blocks present in the class will be executed.
This is the concept used in JDBC to register driver(s). A static block in the driver
class gets executed which inturn registers the JDBC driver with the connection
manager.
Is This Answer Correct ? | 66 Yes | 2 No |
Post New Answer View All Answers
What is a sessionfactory? Is it a thread-safe object?
Explain phantom read?
AS a developer will u create a data source in connection pool? If so how will u do that, how to access the object from connection pool using IRAD tool?
how i secure my site with the https protocol.what are the steps?
What are the services in RMI ?
how to use debug in my elipse to solve problems that exist in my project
How are commas used in the intialization and iteration parts of a for statement?
What is a modular application?
What is the diffrence between a local-tx-datasource and a xa-datasource?
Explain what is orm?
How to pass parameters in RMI?
Describe activation process?
what is a non-repeatable read?
Why does the tag url-encode javascript and mailto links?
What restrictions are placed on the values of each case of a switch statement?