i’m connecting to a database with java with the following code:
Class.forName(some driver name);
now, in order for it to run i have to include the relevant jar to the build path.
my question is, is there a driver (maybe built in the sdk/jre) that does not require including a jar?
thank you
The only JDBC driver supplied built-in to the Oracle Java 6 JRE is the JDBC-ODBC bridge. Its use is not recommended, however.
For any other DBMS, you need a proper JDBC driver JAR.