en.help.ref-jdbc-properties.html Maven / Gradle / Ivy
Show all versions of console-jdbc-plugin Show documentation
Properties Specific to JDBC Connection Pools
Most JDBC drivers allow use of standard property lists to specify the user, password, and other resource configuration information. Although properties are optional with respect to the GlassFish Server, some properties might be necessary for most databases. For details, see the JDBC 4.0 Standard Extension API.
Changing JDBC driver properties requires a server restart.
The following standard properties are common to many JDBC vendors. For information about the properties available for your JDBC driver, consult the vendor's documentation.
user
-
Specifies the user name for connecting to the database.
password
-
Specifies the password for connecting to the database.
databaseName
-
Specifies the database for this connection pool.
serverName
-
Specifies the database server for this connection pool.
port
-
Specifies the port on which the database server listens for requests.
networkProtocol
-
Specifies the communication protocol.
roleName
-
Specifies the initial SQL role name.
datasourceName
-
Specifies an underlying XADataSource
, or a ConnectionPoolDataSource
if connection pooling is done.
description
-
Specifies a text description.
url
-
Specifies the URL for this connection pool. Although this is not a standard property, it is commonly used.
Copyright © 2005, 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices