Class OracleAgroalConnectionConfigurer

java.lang.Object
io.quarkus.jdbc.oracle.runtime.OracleAgroalConnectionConfigurer
All Implemented Interfaces:
io.quarkus.agroal.runtime.AgroalConnectionConfigurer

@JdbcDriver("oracle") public class OracleAgroalConnectionConfigurer extends Object implements io.quarkus.agroal.runtime.AgroalConnectionConfigurer
  • Field Summary

    Fields inherited from interface io.quarkus.agroal.runtime.AgroalConnectionConfigurer

    log
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    disableSslSupport(String databaseKind, io.agroal.api.configuration.supplier.AgroalDataSourceConfigurationSupplier dataSourceConfiguration, Map<String,String> additionalProperties)
    Oracle connection properties are documented here: https://docs.oracle.com/en/database/oracle/oracle-database/21/jajdb/oracle/jdbc/OracleConnection.html#Transport_Layer_Security__TLS_SSL_ SSL seems to be disabled by default, so rather than disabling it explicitly we check that the user didn't attempt to enable it.
    void
    setExceptionSorter(String databaseKind, io.agroal.api.configuration.supplier.AgroalDataSourceConfigurationSupplier dataSourceConfiguration)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.quarkus.agroal.runtime.AgroalConnectionConfigurer

    disableSslSupport
  • Constructor Details

    • OracleAgroalConnectionConfigurer

      public OracleAgroalConnectionConfigurer()
  • Method Details

    • disableSslSupport

      public void disableSslSupport(String databaseKind, io.agroal.api.configuration.supplier.AgroalDataSourceConfigurationSupplier dataSourceConfiguration, Map<String,String> additionalProperties)
      Oracle connection properties are documented here: https://docs.oracle.com/en/database/oracle/oracle-database/21/jajdb/oracle/jdbc/OracleConnection.html#Transport_Layer_Security__TLS_SSL_ SSL seems to be disabled by default, so rather than disabling it explicitly we check that the user didn't attempt to enable it.
      Specified by:
      disableSslSupport in interface io.quarkus.agroal.runtime.AgroalConnectionConfigurer
    • setExceptionSorter

      public void setExceptionSorter(String databaseKind, io.agroal.api.configuration.supplier.AgroalDataSourceConfigurationSupplier dataSourceConfiguration)
      Specified by:
      setExceptionSorter in interface io.quarkus.agroal.runtime.AgroalConnectionConfigurer