Using Oracle JDBC Driver Version 12.2.0.1 And Universal Connection Pool Classes On JDK 9

(Doc ID 2403711.1)

Last updated on MAY 31, 2018

Applies to:

JDBC - Version 12.2.0.0.0 and later
Information in this document applies to any platform.

Symptoms

 Java compilation problems when using JDBC and UCP 12.2.0.1 (ojdbc8.jar) with JDK 9

Types CommonDataSource and PoolDataSource are incompatible; both define createShardingKeyBuilder(), but with unrelated return types

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms