- Q A homeowner is considering placing a 3.5’ deep splash pool on an existing deck. The deck consists of finished 2” X 6” (actual dimensions 1.5” X 5.5”)
- Q What happens if a junit test method is declared as "private"?
- Q Explain the available thread states in a high-level?
- Q Bluetooth is called a cable replacement technology. Explain.
- Q What is the third major Balearic Island with Majorca and Minorca?
- Q What was the first country to recognize Mexico’s independence, in 1836?
- Q Where are the oceanic current named as ‘Kuroshio, Kurile and Alaskan’ located?–
- Q Who wrote ‘The Gospel of Sri Ramakrishna’ under the pseudonym of ‘M’ ?
- Q Whose 2009 tour titled The Red Piano was partly cancelled due to ill health?
- Q Why do you think the Pret worried Aunt Minnie the most ?
- Q How can you find out whether a database is primary or standby?
Answers
Loading the driver or drivers you want to use is very simple and involves just one line of code. If, for example, you want to use the JDBC-ODBC Bridge driver, the following code will load it:
Eg.
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Your driver documentation will give you the class name to use. For instance, if the class name is jdbc.DriverXYZ , you would load the driver with the following line of code:
Eg.
Class.forName("jdbc.DriverXYZ"); Your Comment
Eg.
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Your driver documentation will give you the class name to use. For instance, if the class name is jdbc.DriverXYZ , you would load the driver with the following line of code:
Eg.
Class.forName("jdbc.DriverXYZ"); Your Comment
- 0
- 0
- New Answer
- Contributors: *,
More Java,driver Questions..
Can variables be used in Java without initialization?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Java,
What is the difference between java bean and enterprise java bean?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Java,
How does the java database connectivity (jdbc) work?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Java,
What are the advantages of threads in java?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 0 )
- Tags: Java,
What is the role of jdbc driver in a sqoop set up?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: driver,
What Is Java Api For Xml-based Rpc (jax-rpc)?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Java,
What is static synchronized method in JDBC API? Give an example?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Java,
Should we override finalize method
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Java,
What is object cloning in Java?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 0 )
- Tags: Java,
What is difference between notify() and notfiyAll()
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Java,
Describe java's security model.
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Java,
Is there is any error if you have multiple main methods in the same class?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Java,
What is the name of the method used to schedule a thread for execution?
1) init();
2) start();
3) run();
4) resume();
5) sleep();
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Java,
Can I import the same package/class twice? Will the JVM load the package twice at runtime?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 0 )
- Tags: Java,
What releases of Java technology are currently available? What do they contain?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 0 )
- Tags: Java,
What is asymmetric clustering in WebSphere?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Java,
What is pass by value and pass by reference?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 0 )
- Tags: Java,
What are the actions that can occur when a thread enters blocked state
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Java,
How do I launch the browser using WebDriver
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Java,
What is the use of Void(0)?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Java,