Issue
we are using database Oracle 19c version in production and we are migrating to JDK 11 (currently we are on JDK 7). So i downloaded necessary ojdbc jars from oracle website: rel="nofollow noreferrer">https://www.oracle.com/in/database/technologies/appdev/jdbc-downloads.html
But i found below in the website:
It said ucp.jar certified with JDK11 but with some limitations. Can't find any information about those limitations.
Please share if anyone has idea on those limitations.
Please note that i'm aware Oracle 21c drivers listed in the website certified with JDK11 (including ucp.jar) but those don't have Long Term Support yet. So want to use Oracle 19c drivers only.
Solution
The 19c UCP limitations with respect to JDK11 are related to the DataSource APIs added in DataSource APIs in JDK9 (for example createConnectionBuilder and createShardingKey) that you won't find in UCP in 19c. If you don't use these features, you should be fine.
And yes you're right, the current Long Term Support (LTS) release is 19c. 21c should only be used to explore new features.
Answered By - Jean de Lavarene
Answer Checked By - Gilberto Lyons (JavaFixing Admin)