Product Documentation

V11.5 Update Guide

Previous Topic

Next Topic

JDBC connection URL new format

Note: This is a Compatibility Change.

In releases prior to V11, the JDBC driver expected a connection URL in a non-standard format that application generation tools may not support:

jdbc:ctree:[<portnumber>@]<host>:<database>[?param=value[&param=value]...]

The JDBC URL format has been changed to be compliant with standard JDBC spec:

jdbc:ctree://<host>[:portnumber]/<dbname>[?param=value[&param=value]...]

where

  • <host> can be a host name, an IPv4 address, or an IPv6 address enclosed with square brackets as per RFC 2732.
  • The valid parameters are:

    characterEncoding

    password

    user

Note: For complete backward compatibility, the c-treeACE SQL JDBC URL supports both the old format as well as the new format. The new format is the preferred format.

TOCIndex