Question
How a database driver can be loaded with JDBC 4.0 / Java 6

Answers

• By providing the JAR file , the driver must be properly configured.
• The JAR file is placed in the classpath.
• It is not necessary to explicitly load the JDBC drivers by using the code like Class.forName() to register in the JDBC driver.
• The DriverManager class looks after this, via locating a suitable driver at the time when the DriverManager.getConnection() method is called.
• This feature provides backward-compatibility, so no change is needed in the existing JDBC code.   Your Comment




More Software,Java,driver Questions..
What is the inputsplit in map reduce software?

Can variables be used in Java without initialization?

What is the difference between java bean and enterprise java bean?

What is software configuration management?

How does the java database connectivity (jdbc) work?

What are the advantages of threads in java?

What is the role of jdbc driver in a sqoop set up?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

What is object cloning in Java?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?



Search
Can you Answer!!
  • Q Explain the role of an individual in prevention of pollution and how it is possible?
  • Q defect tracking tools reviewed.
  • Q That a society consists of and embraces the norms of many different gorups is a description of _____.
  • Q How do you find inflorescence in Polemoniaceae ?
  • Q Write Notes on UPOV
  • Q When we actually use an assignment in a workflow?
  • Q How the even routing method works in Silverlight
  • Q How can the freedom be restricted by-
  • Q Advantages of meo?
  • Q What will happened if a space is given in between allowed_hosts and (options)
  • Q How can you improve productivity?