Oracle 5.0 Reference Manual page 2076

Table of Contents

Advertisement

Note
If the mechanism you use to configure a JDBC URL is XML-based, use the
XML character literal & to separate configuration parameters, as the
ampersand is a reserved character for XML.
The properties are listed in the following tables.
Connection/Authentication.
Property Name
user
password
socketFactory
connectTimeout
socketTimeout
connectionLifecycleInterceptors A comma-delimited list of classes that implement
useConfigs
authenticationPlugins
defaultAuthenticationPlugin
Connector/J (JDBC) Reference
Definition
The user to connect as
The password to use when connecting
The name of the class that the driver should
use for creating socket connections to the
server. This class must implement the interface
'com.mysql.jdbc.SocketFactory' and have public
no-args constructor.
Timeout for socket connect (in milliseconds), with
0 being no timeout. Only works on JDK-1.4 or
newer. Defaults to '0'.
Timeout on network socket operations (0, the
default means no timeout).
"com.mysql.jdbc.ConnectionLifecycleInterceptor"
that should notified of connection lifecycle
events (creation, destruction, commit, rollback,
setCatalog and setAutoCommit) and potentially
alter the execution of these commands.
ConnectionLifecycleInterceptors are "stackable",
more than one interceptor may be specified via
the configuration property as a comma-delimited
list, with the interceptors executed in order from
left to right.
Load the comma-delimited list of configuration
properties before parsing the URL or applying
user-specified properties. These configurations
are explained in the 'Configurations' of the
documentation.
Comma-delimited list of classes that implement
com.mysql.jdbc.AuthenticationPlugin and which
will be used for authentication unless disabled by
"disabledAuthenticationPlugins" property.
Name of a class implementing
com.mysql.jdbc.AuthenticationPlugin which will
be used as the default authentication plugin
(see below). It is an error to use a class which
is not listed in "authenticationPlugins" nor it is
one of the built-in plugins. It is an error to set
as default a plugin which was disabled with
"disabledAuthenticationPlugins" property. It is
an error to set this value to null or the empty
2056
Default
Since
Value
Version
all
versions
all
versions
com.mysql.jdbc.StandardSocketF
3.0.3
0
3.0.1
0
3.0.1
5.1.4
3.1.5
5.1.19
com.mysql.jdbc.authentication.M
5.1.19

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents