-
Bug
-
Resolution: Fixed
-
P3
-
9, 10, 11, 12, 13
-
b03
Code example in top-level specification https://docs.oracle.com/en/java/javase/12/docs/api/java.sql/java/sql/ConnectionBuilder.html
has the following:
================
Connection con = ds.createConnectionBuilder()
.user("rafa")
.password("tennis")
.setShardingKey(shardingKey)
.setSuperShardingKey(superShardingKey)
.build();
================
while the actual ConnectionBuilder API contains methods called just "shardingKey​(ShardingKey)" and "superShardingKey​(ShardingKey)"
This mismatch is present since the addition of ConnectionBuilder class - https://docs.oracle.com/javase/9/docs/api/java/sql/ConnectionBuilder.html
has the following:
================
Connection con = ds.createConnectionBuilder()
.user("rafa")
.password("tennis")
.setShardingKey(shardingKey)
.setSuperShardingKey(superShardingKey)
.build();
================
while the actual ConnectionBuilder API contains methods called just "shardingKey​(ShardingKey)" and "superShardingKey​(ShardingKey)"
This mismatch is present since the addition of ConnectionBuilder class - https://docs.oracle.com/javase/9/docs/api/java/sql/ConnectionBuilder.html