<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright The WildFly Authors
  ~ SPDX-License-Identifier: Apache-2.0
  -->

<feature-group-spec name="h2-datasource" xmlns="urn:jboss:galleon:feature-group:1.0">
    <feature spec="subsystem.datasources">
        <feature spec="subsystem.datasources.data-source">
            <param name="data-source" value="ExampleDS"/>
            <param name="enabled" value="true"/>
            <param name="use-java-context" value="true"/>
            <param name="jndi-name" value="java:jboss/datasources/ExampleDS"/>
            <param name="data-source" value="ExampleDS"/>
            <param name="connection-url" value="&quot;jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE;MODE=${wildfly.h2.compatibility.mode:REGULAR}&quot;"/>
            <param name="driver-name" value="h2"/>
            <param name="user-name" value="sa"/>
            <param name="password" value="sa"/>
            <param name="statistics-enabled" value="${wildfly.datasources.statistics-enabled:${wildfly.statistics-enabled:false}}" />
        </feature>
    </feature>
</feature-group-spec>

