t_RelationalDatabaseConnection_Fragments_Fragment
Fragment : Database
Properties
alias : aliasOverrides the default JNDI name of the fragment. The default name is the fragment name concatenated to the datasource alias.
Valid values based on“string”. [\p{L}_][\p{L}\p{N}\-_]* database : stringDatabase name.
The name of the database the application will access with this connection.external : booleanTrue to use an external connection pool managed by the container.
host : stringDatabase server host name.
idleTimeout : nonNegativeLongThe timeout in milliseconds, after which idle connections are disposed of.
Valid values based on“long”. 0 (minInclusive) instance : stringDatabase server instance name (optional).
maxPoolSize : positiveIntMaximum database connection pool size per server.
Valid values based on“int”. 1 (minInclusive) minPoolSize : nonNegativeIntMinimum database connection pool size per server.
Valid values based on“int”. 0 (minInclusive) name : fragmentNameFragment name.
Valid values based on“string”. [\p{L}\p{N}\-_]+ password : passwordDatabase user password.
Valid values based on“string”. port : unsignedShortDatabase server port number (optional).
queryTimeout : nonNegativeIntThe query timeout in seconds (0 for unlimited).
Valid values based on“int”. 0 (minInclusive) role : dbOptionalNameDatabase role override to use as default role for table permissions.
Valid values based on“string”. |[A-Za-z][_A-Za-z\d]* statementCacheSize : positiveIntThe prepared SQL statement cache size.
Valid values based on“int”. 1 (minInclusive) user : stringDatabase user name.
The ID used by the application to access the database.warningTimeout : nonNegativeLongThe long-running query warning timeout in milliseconds (0 for unlimited). Overridable by the nexj.dataSourceConnection.<name>.warningTimeout system property.
Valid values based on“long”. 0 (minInclusive)
Content
Sequence of:
Parents
Parent topic: t_RelationalDatabaseConnection_Fragments