answersLogoWhite

0


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

โˆ™ 2011-09-13 05:12:40
This answer is:
๐Ÿ™
0
๐Ÿคจ
0
๐Ÿ˜ฎ
0
User Avatar

Add your answer:

Earn +20 pts
Q: How do you load a class in Jdbc?
Write your answer...
Submit
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.


What is JDBC connection?

JDBC stands for Java Database Connectivity. A JDBC connection is required for every java program that wants to connect to a database for data


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.


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


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 makes the first class lever second class lever third class lever different?

The position of the load, fulcrum, and effort are in different spots. In a first class lever, the fulcrum is between the load and effort. In a second class lever, the load is between the force and fulcrum. And a in a third class lever, the force is in between the fulcrum and load.


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 many types of JDBC driver?

There are four types of JDBC driver:JDBC - ODBC bridgeNative-API driverNetwork-Protocol DriverNative-Protocol DriverSee related link for more information.


What class of lever is a shovel?

Third Class, the load is where the tip of the shovel is, you push in between the handle and the load, and the fulcrum is the handle.it is a third class lever.


What is Jdbc and how you connect Java with database?

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() ;


Where is the load located in the class two lever?

Load is in the center, as in a wheel barrow or a bottle opener. Having an acronym might help remember which class is which. For example: 3-2-1 - ELF! means that for a class 3, the effort is in the middle; class 2, load in the middle; and class 1, fulcrum in the middle.


How do you write jdbc program in eclipse?

TJJJGGJSGYTRYryjgjjmhkk


What type of lever is a screw?

i think its a 1st class lever pivot between effort and load = 1st class load between effort and pivot = 2nd class effort between load and pivot = 3rd class


How are second and first class levers differentiated?

A First Class lever is one in which the fulcrum is locatedbetween the effort and the load.A Second Class lever is one in which the load is locatedbetween the fulcrum and the effort.A Third Class lever is one in which the effort is locatedbetween the fulcrum and the load.


How are second class levers and third class levers different?

1) In second-class levers, the effort arm is always longer than the loadarm. In third-class levers, the efform arm is always shorter than the load arm.2) In second class levers, the distance traveled is always greater than the load distance traveled. In third-class levers the distanced traveled is always shorter than the load distance traveled.3) In second-class levers, the effort force is always less than the load force. In third-class levers, the effort force is always greater than the load force.A Second Class lever has the load in the middle, between the effort andthe fulcrum, so its Mechanical Advantage is always greater than ' 1 '.A Third Class lever has the effort in the middle, between the load andthe fulcrum, so its Mechanical Advantage is always less than ' 1 '.


How does a third class lever work?

With a third class lever, the input force is located between the fulcrum and the load. They increase the distace the load is carried.


Is a can opener a first class lever?

There are three classes of levers and each represents a positional configuration of the fulcrum, the load and the force on the lever: Class 1: The fulcrum is located between the applied force and the load Class 2: The load is situated between the fulcrum and the force Class 3: The force is applied between the fulcrum and the load No its a second class lever because the fulcrum is located at one end and the force is applied to the lever arm at the other end. The "load" in this case is the can.


How do you use database in java?

By using JDBC/hibernet


Where are the effort load and fulcrum locate in a first class lever?

The fulcrum is between the effort and the load.


What class lever is the mandible and where does the effort load and fulcrum go?

Third class: Fulcrum is the condyles, effort is the masseter muscle, and load is whatever you're chewing on.


Where are the load effort and fulcrum located on a second class lever?

On a second class lever the load is between the effort arm and the fulcrum. Example: wheel barrow