|
Hello,
To connect to and dbms from java, u have to usee thee JDBC technology.
U have download from internet a jar that is suppose to implement a driver for comunication and data mapping between java and the dbms.
then in your code u have to load the driver by using the class.forName("driver-name");
then u have to create the connection by the methdo DriverManager.getConnection(url, userName, password).
Url: its the url of your DB
Is is a method to connect to your db..there are other methods..bye
|