answersLogoWhite

0

How do you load a class in Jdbc?

Updated: 8/16/2019
User Avatar

Wiki User

12y ago

Best Answer
Ans:Loading a class in JDBC

For getting connection to database and to query database for INSERT,UPDATE,DELETE and to do some operations on database through java programs you need to load the jdbc driver class for a particular database provided by the database provider for that you use class.forName() Method this method will load the class which are necessary for database operations

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you load a class in Jdbc?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Describe about JDBC architectural overview?

General JDBC Architecture consist of two layers: JDBC API - this provides the application to JDBC manager connection. JDBC driver API - this supports the JDBC manager to driver connection.


What is type 4 jdbc driver?

JDBC is short for java database connectivity. There are 4 type of JDBC drivers : 1) JDBC-ODBC 2) Native-API 3) JDBC-Net 4) Native-Protocol.


JDBC drivers and driver maneger?

JDBC Driver Manager is a class that manages a list of database drivers. It matches connection requests from the java application with the proper database driver using communication sub protocol.


Is it possible while developing any software by using java can you manage database?

Yes. In Java this is done through the JDBC classes.Yes. In Java this is done through the JDBC classes.Yes. In Java this is done through the JDBC classes.Yes. In Java this is done through the JDBC classes.


List four JDBC drivers?

JDBC ODBC BridgeNative API Partly Java DriverNet Protocol full Java driverare some types of jdbc drivers


What do you understand by JDBC driver in java?

JDBC driver is an interface enabling a java application to interact with a database. To connect with individual database, JDBC requires drivers for each database.


Does jdbc come along with j2ee?

JDBC comes as part of the standard JDK & JRE set up.


Which types of JDBC drivers allows your java programs to communicate with the ODBC driver of your dbms?

JDBC - ODBC bridge


What is the use of JDBC?

JDBC stands for Java Database connectivity which is a standard java API for database. It is for database connectivity with project.


How can you connet java with sql in java programming?

JDBC mean Java Database Connectivity. In java, using JDBC drivers, we can connect to database. Steps to connect to JDBC. 1) Load the driver, using Class.forName(DriverName); 2) Get the connection object, Connection con = Driver.getConnection(loaded driver name); 3) Create a SQL statement, Statement s = con.createStatement(); 4) Create Resultset object using the statement created above, ResultSet rs = s.executeQuery("sql statement"); Iterate the result set to get all the values from the database. Finally don't miss this 5) s.close(); 6) con.close() ;


How do you write jdbc program in eclipse?

TJJJGGJSGYTRYryjgjjmhkk


What does Walle stand for?

Waste Allocation Load Lifter Earth-Class