New database driver
Manage Drivers It is possible to add, update and remove drivers from the Database server type by using AF Operations specially dedicated for this.
Add / Update a Driver To add or update a driver you should use the CIR.SaveDatabaseDriver operation, which expects the following parameters:
If the specified driver Name already exists, the existing definition is updated.
This operation can be used with the af-run-cmd command like in the following example:
The input.xml file has the following structure:
af-run-cmd --operation CIR.SaveDatabaseDriver --username <username> --password <password> --input @input.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<parameter type="Map">
<parameter type="String" name="Name">Oracle</parameter>
<parameter type="String" name="Description">Oracle JDBC Driver</parameter>
<parameter type="String" name="Driver">oracle.jdbc.driver.OracleDriver</parameter>
<parameter type="Array" name="UrlPatterns">
<parameter type="String"><![CDATA[jdbc:oracle:thin:@<host>:<port>:<sid>]]></parameter>
</parameter>
</parameter>