Posts

Showing posts with the label JDBC

JDBC Oracle Connect String

What are Oracle JDBC drivers ? [Using Service Name instead of SID] JDBC is an API that allows Java programs to access any tabular data source. In order to interact with an Oracle Database from a Java program using JDBC interface, Oracle provides its own Oracle JDBC drivers. Oracle provides drivers that enable users to make JDBC connections to Oracle databases. The two most common methods of connecting to Oracle databases via JDBC are the Oracle Thin JDBC driver and the Oracle OCI JDBC driver. The Oracle Thin driver requires no software other than the driver jar file. This driver connects to Oracle databases via TCP/IP. The Oracle OCI (Oracle Call Interface) driver requires Oracle client software to be installed on the user's machine in order to connect to the database. This driver uses native methods and is platform specific. The Java classes to connect to Oracle are contained in the Oracle JDBC driver jar file. For recent releases, these are numbered based on the Java v...