How to connect Oracle with JAVA.will u Plz explain me.
Hi
There are many ways to connect to database. For begainers you should use the Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); driver.
Now go to control panel open odbc, create a sytem DSN, new write a name Learning and select the oracle driver.
after that use the Connection class
String url = "jdbc:odbc:Learning";//Learning is DSN Name
java.sql.Connection c = DriverManager.getConnection(url,"Learning", "Learning");
For details read following article
http://www.javacoffeebreak.com/articles/jdbc/