Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


samar
Java driver manager
1 Answer(s)      4 years and 3 months ago
Posted in : Java Interview Questions


What is DriverManager ?

Advertisement
View Answers

October 27, 2010 at 10:49 AM


Hi,

Here is the answer.

The JDBC DriverManager class defines objects which can connect Java applications to a JDBC driver. DriverManager is considered the backbone of JDBC architecture. DriverManager class manages the JDBC drivers that are installed on the system. Its getConnection() method is used to establish a connection to a database. It uses a username, password, and a jdbc url to establish a connection to the database and returns a connection object.

A jdbc Connection represents a session/connection with a specific database. Within the context of a Connection, SQL, PL/SQL statements are executed and results are returned. An application can have one or more connections with a single database, or it can have many connections with different databases.

For detail please go through the link given.

http://www.roseindia.net/jdbc/understanding-driver-manager.shtml

Thanks.



Related Tutorials/Questions & Answers:
Java driver manager
Java driver manager  What is DriverManager
Driver Manager Class
Driver Manager Class       The JDBC Driver Manager The JDBC Driver Manager... to a JDBC driver. Usually  Driver Manager is the backbone of the JDBC
Advertisements
ODBC driver manager return 'Data source name not found.
ODBC driver manager return 'Data source name not found.  Why does the ODBC driver manager return 'Data source name not found and no default driver specified Vendor: 0
Java JDBC driver
Java JDBC driver  What is JDBC Driver
Java layout manager
Java layout manager  What advantage do Java's layout managers provide over traditional windowing systems
Java layout manager
Java layout manager  Which containers use a FlowLayout as their default layout
Java JDBC driver
Java JDBC driver  What are the different JDBC drivers available
How to disable task manager using java
How to disable task manager using java  How to disable task manager using java
jdbc driver for mysql - Java Beginners
jdbc driver for mysql  I need jdbc driver program for connecting java progrma to mysql. Please any one send me the url to download the driver... of jdbc-mysql database connectivity and idea about jdbc and mysql driver
Driver
Driver  can u send type4 jdbc driver class name and url for microsoft sql server 2008
Task manager enable and disable thru java
Task manager enable and disable thru java  I would like to know, how to enable and disable task manager using java. Kindly, please Let me know
java- jdbc with type 4 driver
java- jdbc with type 4 driver  My program code is----- import java.sql.*; import java.lang.* ; import java .io.*; import java.util.*; import...*; import java.lang.* ; import java .io.*; import java.util.*; import
Connecting to the Database Using JDBC and Pure Java driver
earlier MM.MySQL Driver is 100% pure Java Driver for MySQL... this driver to make connections to MySQL server from both Java... the network connection to the database. Driver Manager plays very
java run time error in loading the driver - JDBC
java run time error in loading the driver  when i mrunning the program in oracle using type 4 driver it is giving the error as Error... JDBC driver's JAR file in your classpath and check it Thanks
selenium rc java client driver - WebSevices
selenium rc java client driver  how to implement getcookies functions in selnium rc??? i m using getcookies function in selenium rc java client driver. but its given some error. pls tell me whether i have 2 write code
How to integrate IBM case Manager with Java Applicarion(JSP or core java)
How to integrate IBM case Manager with Java Applicarion(JSP or core java)  Dear All, Its really important for me to demonstrate a POC (Proof of Concept) on integrating IBM Case Manager with Java Application. Any small help
How do i start to create Download Manager in Java - JSP-Servlet
How do i start to create Download Manager in Java  Can you tell me from where do i start to develop Download manager in java
layout manager
layout manager  how to use Absolute Layout manager in java form
Resource Manager
Resource Manager   Hi... What is a resource Manager in Flex? Please tell me the answer of this question. Thanks  Ans..., which easily access the single instance of this manager. getInstance
error in driver
error in driver  i have done connection settings for oraclethin driver in netbeans ide 6.9.1. and i was able to view tables of my database.but when i am trying to access tables from my java class i was getting error
rmi Security Manager
rmi Security Manager  what type of security provide java rmi security Manager
Layout Manager
Layout Manager  for compile file "Javac SApplet.java" (working fine) but, java SApplet (not compile) error message: Exception in thread "main" java.lang.NoSuchMethodError:main Please follow the program import
jdbc driver
jdbc driver  hello, can we create a own jdbc driver? how can we create
How To Use Database Driver
: JDBC-ODBC Bridge driver Type 2: Native-API/partly Java driver Type 3: AllJava/Net-protocol driver Type 4: All Java/Native-protocol driver Each... today. Driver Manager keeps track of all the database drivers available today
no driver - JDBC
{ try { //Loads Type 2 Driver Class.forName...) { System.err.println("Could not load DB2 driver! \n"); System.err.println(e.getMessage()); System.exit(1); } /* Type 2 driver url */ //String url
JDBC Driver and Its Types
; JDBC Driver Manager The JDBC DriverManager class defines objects which can connect Java applications to a JDBC driver... driver from the previously loaded drivers. The JDBC API defines the Java
Jdbc Driver - JDBC
-ODBC Driver)Type 2(java native driver)Type 3Type 4  Type of JDBC..., partly Java driver, also called Type 2. * JDBC-Net, pure Java driver, also called Type 3. * Native-protocol, pure Java driver, also called Type 4.For JDBC
Role of Project Manager
Role of Project Manager  What are the role of a project manager in an Organisation
Layout manager in flex
Layout manager in flex  Hi.... What is Layout Manager and explain the Properties and Methods? Now let's know how we will use these properties and methods........ Thanks
php events manager - PHP
php events manager  I am looking for a design and structure for the php events manager. Is there any free app on internet that i can use
No suitable driver error.
No suitable driver error.  What causes the "No suitable driver" error
 

 

 

DMCA.com