Bundled JDBC Drivers
Learn about the JDBC drivers that are bundled with the Oracle Database Security Central (Oracle DBSecCentral) SDK.
About Bundled JDBC Drivers
Learn about the five JDBC drivers that are bundled with Oracle Database Security Central.
When you create a collection plug-in, you can use it to extract audit records from a database table. To do this, you must have a JDBC driver to connect to the database. Drivers for most common databases are bundled with the SDK.
The Oracle DBSecCentral SDK ships with 5 different JDBC drivers, some that are standard to the product and some that are proprietary drivers provided by Oracle for specific third-party databases.
-
Standard
-
Oracle
-
MySQL
-
-
Proprietary
-
Sybase
-
Microsoft SQL Server
-
DB2
-
You are not required to use any of these JDBC drivers. You can use drivers that you have acquired elsewhere. However, if you plan to use any of the listed drivers, then in your mapper file, and when registering a target, you must provide the information in the following table:
Table 1 JDBC Drivers and Connecting URLs
| Database | Driver Class | Connecting URL |
|---|---|---|
| Oracle | oracle.jdbc.pool.OracleDataSource |
jdbc:oracle:thin:@host:port:sid |
| MySQL | N/A | jdbc:av:mysql://host:port |
| SQLServer | oracle.av.platform.jdbcx.sqlserver.SQLServerDataSource |
jdbc:av:sqlserver://host:port |
| DB2 | oracle.av.platform.jdbcx.db2.DB2DataSource |
jdbc:av:db2://host:port/dbname |
| Sybase | oracle.av.platform.jdbcx.sybase.SybaseDataSource |
jdbc:av:sybase://host:port |
Connecting URLs
Use the correct Connection URL for the type of JDBC driver that you use with Oracle Database Security Central.
You use Connection URLs to specify the location of a database target when you register the target on the GUI or through AVCLI. The format of the Connection URL depends on the JDBC driver that you use. Each of the JDBC drivers shipped with Oracle Database Security Central specifies the format required by the JDBC driver in question in the table in “About JDBC Drivers and Connecting URLs.” .
Additionally, to use specific encryption methods in the connecting URL, you must set the EncryptionMethod property. In the following syntax example, note that the variable encryptionmethod can be SSL, requestSSL, or loginSSL:
jdbc:av:[sqlserver]://*`hostname`*: *`port`*;[EncryptionMethod=*`encryptionmethod`*].
Use this url to register a Target, by entering it into the Target Location field, with the Advanced mode selected.
Related Topics
See Also: Target Connection Information block in “Creating a Database Table Mapping File. Creating a Database Table Mapper File.
DataSource Class
To enable a Java application to interact with the Oracle Audit Vault platform, use this JDBC DataSource class.
oracle.av.platform.jdbcx.dbsource.DBSourceDataSource