Interface OracleDataSource

    • Method Detail

      • setExecutorService

        static void setExecutorService​(ExecutorService threadPool)
                                throws SQLException
        Sets the thread pool for general use inside the Oracle JDBC driver. The thread pool set is used across all data source instances. Setting this has global effect. The existing thread pool will be shut down immediately. The thread pool set should in general be a ThreadPoolExecutor. Do not use ForkJoinPool.
        Throws:
        SQLException - if an error occurs while setting the thread pool.