Use > Database > Deploying the Oracle Server Database > Oracle Server Configuration and Sizing Guidelines > How to Enable Support for Oracle Advanced Security (ASO) in Generic Database Adapter Based Integrations

How to Enable Support for Oracle Advanced Security (ASO) in Generic DB Adapter-based Integrations

To enable support for Oracle Advanced Security (ASO) in Generic DB Adapter-based integrations, do the following:

  1. Open the adapter.conf file in the Generic DB Adapter.

    In UCMDB UI, go to Data Flow Management > Adapter Management. Under the Packages root folder in the Resource pane, go to db-adapter > Configuration Files > GenericDBAdapter/META-INF/adapter.conf

  2. Locate the following line:

    dal.use.persistence.xml=false
  3. Change the value to true as follows:

    dal.use.persistence.xml=true
  4. Click Save .
  5. Open the persistence.xml file by clicking GenericDBAdapter/META-INF/persistence.xml.
  6. Locate the following line:

    <persistence-unit name="GenericDBAdapter"/>
  7. Replace it with the following content:

    <persistence-unit name="GenericDBAdapter">

    <properties> <!-- added to fix: org.hibernate.HibernateException: 'hibernate.dialect' must be set when no connection available --> <property name="hibernate.dialect" value="org.hibernate.dialect.Oracle10gDialect"/> <property name="hibernate.hbm2ddl.auto" value="create-drop"/> <property name="hibernate.connection.driver_class" value="oracle.jdbc.OracleDriver"/> <property name="hibernate.connection.url" value="jdbc:oracle:thin:@<oracle-host-name>:<oracle-port>:<oracle-db-sid>"/ > <property name="oracle.net.encryption_client" value="REQUIRED" /> <property name="oracle.net.encryption_types_client" value="( DES40 )" /> <property name="oracle.net.crypto_checksum_client" value="REQUESTED" /> <property name="oracle.net.crypto_checksum_types_client" value="MD5" /> </properties> </persistence-unit>

  8. Update connection.url in the above code snippet with the proper hostname/port/SID, and also update the username and password.

  9. Click Save .

  10. Wait a few minutes for the probe to retrieve the latest settings.
  11. Run test connection and check whether it works.