This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
helo friends, i want to know the driver path to connect with sql database using jdbc.let me know both the dsn and dsnless connection driver path.is any special driver classes i need? do i have to set any classpath for that. please help me in this thank you for all baskar
To use an existing ODBC connection, you need to use the jdbc-odbc bridge included in Sun's jdk. To use JDBC to connect to a database, you will need to find a JDBC driver for that db. Oracle, Informix, Interbase and DB2 all have JDBC drivers available. They also will have documentation on how to use the driver. Here is a tutorial from Sun on basic JDBC: http://java.sun.com/docs/books/tutorial/jdbc/basics/index.html Here is Sun's JDBC documentation page: http://java.sun.com/j2se/1.3/docs/guide/jdbc/index.html Each vendor should provide documentation for their driver because the names of classes are different. Hope this helps. David