IP address in connection URLs

The HCL OneDB™ JDBC Driver, Version 3.0 and later is IPv6 aware.

That is, the code that parses the connection URL can handle the longer (128-bit mode) IPv6 addresses (as well as IPv4 format). This IP address can be a IPv6 literal, for example:
3ffe:ffff:ffff:ffff:0:0:0:12
To connect to the IPv6 port with the HCL OneDB server, use the system property, for example:
java -Djava.net.preferIPv6Addresses=true ...
You must create a well-formed URL for the driver to recognize an IPv6 literal address. Note, in the following example:
  • The jdbc:onedb:// is required.
  • The port number is required.
  • The 3ffe:ffff:ffff:ffff:0::12 is not validated by the driver. It is passed directly into the Java networking classes
  • The 8088 must be a valid number < 32k.
jdbc:onedb://3ffe:ffff:ffff:ffff:0::12:8088/your_database;USER=onedbsa...