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.
userSpecifies the user name for connecting to the database.
passwordSpecifies the password for connecting to the database.
databaseNameSpecifies the database for this connection pool.
serverNameSpecifies the database server for this connection pool.
portSpecifies the port on which the database server listens for requests.
networkProtocolSpecifies the communication protocol.
roleNameSpecifies the initial SQL role name.
datasourceNameSpecifies an underlying XADataSource, or a ConnectionPoolDataSource if connection pooling is done.
descriptionSpecifies a text description.
urlSpecifies the URL for this connection pool. Although this is not a standard property, it is commonly used.