1

I am trying to migrate a project from Java 8 to Java 11 and I am receiving this error in a PoolDataSource class. Do you have any idea from what it could be?

This is the error I am receiving: 'createShardingKeyBuilder()' in 'oracle.ucp.jdbc.PoolDataSource' clashes with 'createShardingKeyBuilder()' in 'javax.sql.CommonDataSource'; attempting to use incompatible return type

Dragos
  • 41
  • 1
  • 3
  • You should [edit] the error message into your question body. – Haem Jan 14 '20 at 10:35
  • @Haem, thanks, I chamged it now – Dragos Jan 14 '20 at 12:32
  • Sounds like a common pattern: https://stackoverflow.com/questions/60098095/java-11-migration-createconnectionbuilder-from-pooldatasourceimpl-clashes-wi Perhaps the DS team in Java is heavily influenced by the work done by UCP team across the floor and copied the API names literally without warning the UCP guys :D – Ashwin Prabhu Apr 17 '20 at 09:55

0 Answers0