Red Hat Training

A Red Hat training course is available for Red Hat JBoss Data Virtualization

2.9. Driver Connection URL Format

URLs used when establishing a connection using the driver class have the following format:
jdbc:teiid:VDB-NAME@mm[s]://HOSTNAME:PORT;[prop-name=prop-value;]*
Given this format, the following table describes the variable parts of the URL:

Table 2.1. URL Entities

Variable Name Description
VDB-NAME The name of the virtual database (VDB) to which the application is connected.

Important

VDB names can contain version information; for example, myvdb.2. If such a name is used in the URL, this has the same effect as supplying a version=2 connection property. Note that if the VDB name contains version information, you cannot also use the version property in the same request.
mm[s] The JBoss Data Virtualization JDBC protocol. mm is the default for normal connections. mms uses SSL for encryption and is the default for the AdminAPI tools.
HOSTNAME The server where JBoss Data Virtualization is installed.
PORT The port on which JBoss Data Virtualization is listening for incoming JDBC connections.
[prop-name=prop-value] Any number of additional name-value pairs can be supplied in the URL, separated by semi-colons. Property values must be URL encoded if they contain reserved characters, for example, ?, =, and ;.