Type to start searching...

Fragment : Database

Properties
alias : alias

Overrides 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 : string

Database name.

The name of the database the application will access with this connection.
external : boolean

True to use an external connection pool managed by the container.

host : string

Database server host name.

instance : string

Database server instance name (optional).

maxPoolSize : positiveInt

Maximum database connection pool size per server.

Valid values based on“int”.
1 (minInclusive)
minPoolSize : nonNegativeInt

Minimum database connection pool size per server.

Valid values based on“int”.
0 (minInclusive)
name : fragmentName

Fragment name.

Valid values based on“string”.
[\p{L}\p{N}\-_]+
password : password

Database user password.

Valid values based on“string”.
   
port : unsignedShort

Database server port number (optional).

queryTimeout : nonNegativeInt

The query timeout in seconds (0 for unlimited).

Valid values based on“int”.
0 (minInclusive)
role : dbOptionalName

Database role override to use as default role for table permissions.

Valid values based on“string”.
|[A-Za-z][_A-Za-z\d]*
statementCacheSize : positiveInt

The prepared SQL statement cache size.

Valid values based on“int”.
1 (minInclusive)
user : string

Database user name.

The ID used by the application to access the database.
warningTimeout : nonNegativeLong

The 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
Parents