The data-sources subsystem, used to declare JDBC data-sources
Attribute | Value |
---|---|
Type | LIST |
Nillable | false |
Expressions Allowed | false |
Storage | runtime |
Access Type | read-only |
Request Parameter | Type | Required | Expressions Allowed | Default value | Description |
---|---|---|---|---|---|
driver-name | STRING | true | false | Defines the JDBC driver the datasource should use. It is a symbolic name matching the the name of installed driver. In case the driver is deployed as a jar, the name is the name of the deployment unit |
{
"deployment-name" => {
"type" => STRING,
"description" => "The name of the deployment unit from which the driver was loaded",
"expressions-allowed" => false,
"required" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L,
"deprecated" => {
"since" => "6.0.0",
"reason" => "This attribute is no longer used"
}
},
"driver-module-name" => {
"type" => STRING,
"description" => "The name of the module from which the driver was loaded, if it was loaded from the module path",
"expressions-allowed" => true,
"required" => true,
"nillable" => false,
"min-length" => 1L,
"max-length" => 2147483647L
},
"module-slot" => {
"type" => STRING,
"description" => "The slot of the module from which the driver was loaded, if it was loaded from the module path",
"expressions-allowed" => true,
"required" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L
},
"driver-class-name" => {
"type" => STRING,
"description" => "The fully qualified class name of the java.sql.Driver implementation",
"expressions-allowed" => true,
"required" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L
},
"driver-datasource-class-name" => {
"type" => STRING,
"description" => "The fully qualified class name of the javax.sql.DataSource implementation",
"expressions-allowed" => true,
"required" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L
},
"driver-xa-datasource-class-name" => {
"type" => STRING,
"description" => "The fully qualified class name of the javax.sql.XADataSource implementation",
"expressions-allowed" => true,
"required" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L
},
"driver-major-version" => {
"type" => INT,
"description" => "The driver's major version number",
"expressions-allowed" => true,
"required" => false,
"nillable" => true
},
"driver-minor-version" => {
"type" => INT,
"description" => "The driver's minor version number",
"expressions-allowed" => true,
"required" => false,
"nillable" => true
},
"jdbc-compliant" => {
"type" => BOOLEAN,
"description" => "Whether or not the driver is JDBC compliant",
"expressions-allowed" => false,
"required" => false,
"nillable" => true,
"deprecated" => {
"since" => "6.0.0",
"reason" => "This attribute is no longer used"
}
},
"profile" => {
"type" => STRING,
"description" => "Domain Profile in which driver is defined. Null in case of standalone server",
"expressions-allowed" => true,
"required" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L,
"deprecated" => {
"since" => "4.0.0",
"reason" => "The server's profile can be determined by the profile-name attribute on the server's root resource."
}
},
"driver-name" => {
"type" => STRING,
"description" => "Defines the JDBC driver the datasource should use. It is a symbolic name matching the the name of installed driver. In case the driver is deployed as a jar, the name is the name of the deployment unit",
"expressions-allowed" => false,
"required" => true,
"nillable" => false,
"min-length" => 1L,
"max-length" => 2147483647L
},
"datasource-class-info" => {
"type" => LIST,
"description" => "The available properties for the datasource-class, and xa-datasource-class for the jdbc-driver",
"expressions-allowed" => false,
"required" => false,
"nillable" => true,
"min-length" => 0L,
"max-length" => 2147483647L,
"value-type" => OBJECT
}
}
{
"deployment-name" => {
"type" => STRING,
"description" => "installed-drivers-list",
"expressions-allowed" => false,
"required" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L,
"deprecated" => {
"since" => "6.0.0",
"reason" => "installed-drivers-list"
}
},
"driver-module-name" => {
"type" => STRING,
"description" => "installed-drivers-list",
"expressions-allowed" => true,
"required" => true,
"nillable" => false,
"min-length" => 1L,
"max-length" => 2147483647L
},
"module-slot" => {
"type" => STRING,
"description" => "installed-drivers-list",
"expressions-allowed" => true,
"required" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L
},
"driver-class-name" => {
"type" => STRING,
"description" => "installed-drivers-list",
"expressions-allowed" => true,
"required" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L
},
"driver-datasource-class-name" => {
"type" => STRING,
"description" => "installed-drivers-list",
"expressions-allowed" => true,
"required" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L
},
"driver-xa-datasource-class-name" => {
"type" => STRING,
"description" => "installed-drivers-list",
"expressions-allowed" => true,
"required" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L
},
"driver-major-version" => {
"type" => INT,
"description" => "installed-drivers-list",
"expressions-allowed" => true,
"required" => false,
"nillable" => true
},
"driver-minor-version" => {
"type" => INT,
"description" => "installed-drivers-list",
"expressions-allowed" => true,
"required" => false,
"nillable" => true
},
"jdbc-compliant" => {
"type" => BOOLEAN,
"description" => "installed-drivers-list",
"expressions-allowed" => false,
"required" => false,
"nillable" => true,
"deprecated" => {
"since" => "6.0.0",
"reason" => "installed-drivers-list"
}
},
"profile" => {
"type" => STRING,
"description" => "installed-drivers-list",
"expressions-allowed" => true,
"required" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L,
"deprecated" => {
"since" => "4.0.0",
"reason" => "installed-drivers-list"
}
},
"driver-name" => {
"type" => STRING,
"description" => "installed-drivers-list",
"expressions-allowed" => false,
"required" => true,
"nillable" => false,
"min-length" => 1L,
"max-length" => 2147483647L
},
"datasource-class-info" => {
"type" => LIST,
"description" => "installed-drivers-list",
"expressions-allowed" => false,
"required" => false,
"nillable" => true,
"min-length" => 0L,
"max-length" => 2147483647L,
"value-type" => OBJECT
}
}