Details
-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
7.1.3.Final (EAP)
-
None
Description
The SimpleAttributeDefinition BACKGROUNDVALIDATIONMILLIS is defined :
org.jboss.as.connector.subsystems.common.pool.Constants.java
public static final SimpleAttributeDefinition BACKGROUNDVALIDATIONMILLIS = new SimpleAttributeDefinition(BACKGROUNDVALIDATIONMILLIS_NAME, Validation.Tag.BACKGROUND_VALIDATION_MILLIS.getLocalName(), new ModelNode(), ModelType.LONG, true, true, MeasurementUnit.MILLISECONDS, new IntRangeValidator(1, true, true));
The ModelType should be an integer value as defined in jboss-as-datasources_1_1.xsd:
<xs:element name="background-validation-millis" type="xs:nonNegativeInteger" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[[ The background-validation-millis element specifies the amount of time, in millis, that background validation will run. ]]> </xs:documentation> </xs:annotation> </xs:element>