<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
I found that datasource xsd defines an element like :<br>
<br>
<xs:element name="<b>driver</b>" type="xs:token"
minOccurs="0"><br>
<xs:annotation><br>
<xs:documentation><br>
<![CDATA[[<br>
An unique reference to the classloader module which
contains the JDBC driver<br>
The accepted format is
driverName#majorVersion.minorVersion<br>
]]><br>
</xs:documentation><br>
</xs:annotation><br>
</xs:element><br>
<br>
And the cli model defines :<br>
<br>
[standalone@localhost:9999
data-source=java:jboss/datasources/ExampleDS] :read-resource<br>
{<br>
"outcome" => "success",<br>
"result" => {<br>
"background-validation" => undefined,<br>
"background-validation-millis" => undefined,<br>
"blocking-timeout-wait-millis" => undefined,<br>
"connection-properties" => undefined,<br>
"connection-url" => "jdbc:h2:mem:test;DB_CLOSE_DELAY=-1",<br>
"<b>driver-name</b>" => "h2",<br>
"enabled" => true,<br>
"flush-strategy" => undefined,<br>
"idle-timeout-minutes" => undefined,<br>
"jndi-name" => "java:jboss/datasources/ExampleDS",<br>
"jta" => true,<br>
"max-pool-size" => 2,<br>
"min-pool-size" => 2,<br>
"password" => "sa",<br>
"pool-name" => "H2DS",<br>
"pool-prefill" => true,<br>
"pool-use-strict-min" => undefined,<br>
"set-tx-query-timeout" => "false",<br>
"share-prepared-statements" => "false",<br>
"spy" => false,<br>
"track-statements" => "\"NOWARN\"",<br>
"use-ccm" => true,<br>
"use-fast-fail" => "false",<br>
"use-java-context" => true,<br>
"user-name" => "sa",<br>
"validate-on-match" => "false"<br>
}<br>
}<br>
<br>
While for most other elements, xsd element and the model attribute
match, this one (i.e driver vs driver-name) seems to be bit
confusing.<br>
<br>
Thx<br>
<br>
Vimal<br>
</body>
</html>