DriverManager in Java

DriverManager in Java

Hi,

What is DriverManager? Give me example of DriverManager in Java.

Thanks
View Answers

October 6, 2010 at 5:34 PM

Hi Friend,

It is a class which manages the communication between applications and drivers to connect to database.

For more information, visit the following link:

http://www.roseindia.net/jdbc/

Thanks









Related Tutorials/Questions & Answers:
DriverManager in Java - Java Beginners
DriverManager in Java  Hi, What is DriverManager? Give me example of DriverManager in Java. Thanks   Hi Friend, It is a class which manages the communication between applications and drivers to connect
DriverManager
DriverManager   What is DriverManager
Advertisements
Write to the log used by DriverManager and JDBC drivers.
Write to the log used by DriverManager and JDBC drivers.  How can I write to the log used by DriverManager and JDBC drivers
Redirect the log used by DriverManager and JDBC driver
Redirect the log used by DriverManager and JDBC driver  How can I get or redirect the log used by DriverManager and JDBC drivers
Java driver manager
Java driver manager  What is DriverManager
JDBC DriverManager Example
; } JDBC Driver Manager DriverManager is a class of java.sql.*; package. Its... with DriverManager automatically when it is loaded. Therefore user only call DriverManager, registerDriver is automatically called. You can register a driver
JDBC Driver and Its Types
DriverManager class defines objects which can connect Java applications to a JDBC driver. DriverManager has traditionally been the backbone of the JDBC architecture... database driver. On running an application, it is the DriverManager's
Understanding Data Source
interface as an alternative to the DriverManager for establishing the connection... source in the Java programming language. DataSouce object is mostly preferred over the DriverManager for establishing a connection to the database
java
java  What is DriverManager?  The JDBC Driver Manager is a very important class that defines objects which connect Java applications.... The DriverManager class works between the user and the drivers. The task
JDBC Class.forName(String drivername) Example for MySql Database
creates an instance of a driver and registers it with the DriverManager. Now we will create a java class JDBCforName.java and store the information like...).newInstance(); connection = DriverManager. getConnection(url+dbName, userName
java - JDBC
java  drivermanager class loads the drivers to connect odbc... of the calls that it makes to ODBC. Multi-threaded Java programs may use the Bridge, but they won't get the advantages of multi-threading. The DriverManager class
java - JDBC
java  what is the differance between class.forName and DriverManager..., The DriverManager class maintains the list of the Driver classes. Each driver has to be get registered in the DriverManager class by calling the method
Driver Manager Class
is a very important class that defines objects which connect Java applications... open database is connected.   The DriverManager class works between the user and the drivers. The task of the DriverManager class is to keep
Open Source Connection pools written in Java
Java Mysql Connection Example
Java Mysql Connection Example We are going to discus how to connect  MySQL in java. We have been provide some classes and API with which we will make... a database in Java we requires an API provided by Sun Microsystem named JDBC. A JDBC
JAVA DB connenting Office access..
JAVA DB connenting Office access..  hai friends....iam shackir.. i... DriverManager class //student_base is the name of the database..."); //connection object created using DriverManager class
Accessing database with JDBC via Java
with JDBC via Java application?   Accessing database with JDBC through Java JDBC Example to access Database import java.sql.*; public class JdbcConnect..., Ms-Access, Oracle etc and java files. The SQL statements are executed within
Accessing Databases Using Java and JDBC
Accessing Database using Java and JDBC       Accessing Database using Java and JDBC Database plays an important... and example to access the database using Java and JDBC. For this, firstly we need
Introduction to java.sql package
database by using the java programming language. It includes a framework where we... with the help of DriverManager class a) DriverManager class: It helps..., such as an applet. It attempts to set up a logging stream through the DriverManager class
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... a connection to the Database getConnection() method of DriverManager
Advance Java training topics
Advance Java training topics     ... simple JSPs that use Java code in declarations, expressions and scriptlets... Java exception handling and JSP error pages to handle errors   
Advance Java Training
Advance Java Training      ... simple JSPs that use Java code in declarations, expressions and scriptlets... Java exception handling and JSP error pages to handle errors. 
Connecting to a MySQL Database in Java
Connecting to a MySQL Database in Java       In java we have been provided with some... the data in the database with the help of java,  instead of going to database
Java JdbcRowSet Example
Java JdbcRowSet Example In this section we will see an example of JdbcRowSet... with the database using getConnection() method of DriverManager class...("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con = DriverManager. getConnection("jdbc:odbc
please send me the answer - JDBC
please send me the answer -difference between DriverManager and DataDourse   what is Datasourse? What r the advantages? what is the difference between DriverManager and DataDourse
DriverManage
DriverManage  hello, What is DriverManager ?   hii,ADS_TO_REPLACE_1 DriverManager is a class in java.sql package. It is the basic service for managing a set of JDBC drivers
Java save file to database
Java save file to database In this section, you will learn how to insert file... between MySql database and java file with the help of various types of APIs..., Oracle etc and java files. The SQL statements are executed within the context
JDBC Components
Java applications to a JDBC driver. DriverManager is the very important part... JDBC Components    JDBC stands for Java... in the java.sql package for Java applications to communicate with databases. Mostly
Java
("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con = DriverManager
JDBC - Java Database Connectivity Tutorial
DriverManager class defines objects which can connect Java applications...JDBC - Java Database Connectivity Tutorials   ...;            Java
Retrieving Data from the table using PreparedStatement
to fetch the data from the database in the table from our java program using... and the java program. To establish the connection between our database and the java...() of the DriverManager class. This method takes three arguments and returns
JDBC Connectivity - JDBC
JDBC Connectivity  my question is how to connect a Java program... String filename = "d:/java/mdbTEST.mdb"; String database = "jdbc... // now we can get the connection from the DriverManager Connection
java
java  diff bt core java and java
java
java  what is java
Class.forName in jsp
Class.forName in jsp  What Class.forName will do while loading drivers?   It is used to create an instance of a driver and register it with the DriverManager. When you have loaded a driver, it is available for making
JAVA
JAVA  how the name came for java language as "JAVA
java
java   why iterator in java if we for loop
java
java  explain technologies are used in java now days and structure java
java
java  different between java & core java
Java
Java   Whether Java is pure object oriented Language
java
java  is java open source
java
java  what is java reflection
java
java   in java does not pointers concept but what is nullpointers in java?   nullpointer is a runtime Exception
java
what is the size of array in java ?  what is the size of array in java ? what is the mean of finalize in java
java
java  give a simple example for inheritance in java
java
java  give a simple example for inheritance in java
java
java  why to set classpath in java
java
java  why to set classpath in java
java
java  why to set classpath in java
java
java   What is ?static? keyword

Ads