About
How to add in the Classpath an archive. In this example a Jdbc Driver (JAR File).
Articles Related
Steps
- download the archive. For an Oracle Jdbc driver, you can found them on this page JDBC, SQLJ, Oracle JPublisher and Universal Connection Pool (UCP)
- add the file to the external library of the project
You can then play with the Oracle Jdbc Api Driver and use the class oracle.jdbc.OracleResultSetMetaData for instance.
Support
The import oracle cannot be resolved
If you don't do the steps above, you get this error :
The import oracle cannot be resolved.
on the import of the class : oracle.jdbc.OracleResultSetMetaData;
import oracle.jdbc.OracleResultSetMetaData;