Skip to content

Commit 2330c3f

Browse files
committed
OracleJdbcConnection should return the server socket address instead of throwing UnsupportedOperationException
1 parent a75702a commit 2330c3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vertx-oracle-client/src/main/java/io/vertx/oracleclient/impl/OracleJdbcConnection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public String user() {
8484

8585
@Override
8686
public SocketAddress server() {
87-
throw new UnsupportedOperationException();
87+
return options.getSocketAddress();
8888
}
8989

9090
@Override

0 commit comments

Comments
 (0)