Skip to content

Instantly share code, notes, and snippets.

@maeste
Created May 6, 2011 09:11
Show Gist options
  • Save maeste/958669 to your computer and use it in GitHub Desktop.
Save maeste/958669 to your computer and use it in GitHub Desktop.
<datasources>
<datasource jndi-name="java:/H2DS" enabled="true" use-java-context="true" pool-name="H2DS">
<connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1</connection-url>
<driver-class>org.h2.Driver</driver-class>
<driver>h2</driver>
<pool></pool>
<security>
<user-name>sa</user-name>
<password>sa</password>
</security>
<validation></validation>
<timeout></timeout>
<statement></statement>
</datasource>
</datasources>
<drivers>
<driver name="h2" module="com.h2database.h2"/>
</drivers>
</subsystem>
<datasources>
<datasource jndi-name="java:/H2DS" enabled="true" use-java-context="true" pool-name="H2DS">
<connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1</connection-url>
<driver-class>org.h2.Driver</driver-class>
<jdbc-client>h2</jdbc-client>
<pool></pool>
<security>
<user-name>sa</user-name>
<password>sa</password>
</security>
<validation></validation>
<timeout></timeout>
<statement></statement>
</datasource>
</datasources>
<jdbc-clients>
<jdbc-client name="h2" module="com.h2database.h2"/>
</jdbc-clients>
</subsystem>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment