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 |
Stability | default |
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,
"stability" => "default",
"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,
"stability" => "default"
},
"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,
"stability" => "default"
},
"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,
"stability" => "default"
},
"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,
"stability" => "default"
},
"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,
"stability" => "default"
},
"driver-major-version" => {
"type" => INT,
"description" => "The driver's major version number",
"expressions-allowed" => true,
"required" => false,
"nillable" => true,
"stability" => "default"
},
"driver-minor-version" => {
"type" => INT,
"description" => "The driver's minor version number",
"expressions-allowed" => true,
"required" => false,
"nillable" => true,
"stability" => "default"
},
"jdbc-compliant" => {
"type" => BOOLEAN,
"description" => "Whether or not the driver is JDBC compliant",
"expressions-allowed" => false,
"required" => false,
"nillable" => true,
"stability" => "default",
"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,
"stability" => "default",
"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,
"stability" => "default"
},
"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,
"stability" => "default",
"value-type" => OBJECT
}
}
{
"deployment-name" => {
"type" => STRING,
"description" => "installed-drivers-list",
"expressions-allowed" => false,
"required" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L,
"stability" => "default",
"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,
"stability" => "default"
},
"module-slot" => {
"type" => STRING,
"description" => "installed-drivers-list",
"expressions-allowed" => true,
"required" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L,
"stability" => "default"
},
"driver-class-name" => {
"type" => STRING,
"description" => "installed-drivers-list",
"expressions-allowed" => true,
"required" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L,
"stability" => "default"
},
"driver-datasource-class-name" => {
"type" => STRING,
"description" => "installed-drivers-list",
"expressions-allowed" => true,
"required" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L,
"stability" => "default"
},
"driver-xa-datasource-class-name" => {
"type" => STRING,
"description" => "installed-drivers-list",
"expressions-allowed" => true,
"required" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L,
"stability" => "default"
},
"driver-major-version" => {
"type" => INT,
"description" => "installed-drivers-list",
"expressions-allowed" => true,
"required" => false,
"nillable" => true,
"stability" => "default"
},
"driver-minor-version" => {
"type" => INT,
"description" => "installed-drivers-list",
"expressions-allowed" => true,
"required" => false,
"nillable" => true,
"stability" => "default"
},
"jdbc-compliant" => {
"type" => BOOLEAN,
"description" => "installed-drivers-list",
"expressions-allowed" => false,
"required" => false,
"nillable" => true,
"stability" => "default",
"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,
"stability" => "default",
"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,
"stability" => "default"
},
"datasource-class-info" => {
"type" => LIST,
"description" => "installed-drivers-list",
"expressions-allowed" => false,
"required" => false,
"nillable" => true,
"min-length" => 0L,
"max-length" => 2147483647L,
"stability" => "default",
"value-type" => OBJECT
}
}