Sun-microsystems GLASSFISH ENTERPRISE 820433510 Manual de usuario Pagina 50

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 256
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 49
Parameter Description
Non-transactional Connections Click the check box if you want Application Server to return all
non-transactional connections.
Transaction Isolation Makes it possible to select the transaction isolation level for the connections
of this pool. If left unspecied, the connections operate with default
isolation levels provided by the JDBC driver.
Guaranteed Isolation Level Only applicable if the isolation level has been specied. If you select the
Guaranteed checkbox, then all connections taken from the pool have the
same isolation level. For example, if the isolation level for the connection is
changed programmatically (with con.setTransactionIsolation) when
last used, this mechanism changes the status back to the specied isolation
level.
5. Change properties.
In the Additional Properties table, it is possible to specify properties, such as the database
name (URL), user name, and password. Because the properties vary with database vendor,
consult the vendor’s documentation for details.
Editing JDBC Connection Pool Advanced Attributes
To help diagnose connection leaks and improve ease-of–use, Application Server 9.1 provides
several new attributes to congure a connection pool at the time of its creation.
1. Open the Advanced tab and specify the following attributes.
Attribute Description
Name Name of the JDBC connection pool whose
properties you want to edit. You cannot change the
pool name, however.
Statement Timeout Time in seconds after which abnormally long
running queries will be terminated. Application
Server will set "QueryTimeout" on the statements
created. The default value of -1 implies that the
attribute is not enabled.
Wrap JDBC Objects When set to true, application will get wrapped jdbc
objects for Statement, PreparedStatement,
CallableStatement, ResultSet, DatabaseMetaData.
The default value is false.
2. Specify the Connection Settings as explained in the following table.
Working with JDBC Connection Pools
Sun GlassFish Enterprise Server 2.1 Administration Guide • December 200850
Vista de pagina 49
1 2 ... 45 46 47 48 49 50 51 52 53 54 55 ... 255 256

Comentarios a estos manuales

Sin comentarios