Last active
February 24, 2017 10:09
-
-
Save sebfoucault/9ee845010902802ef912bc3cfbd69284 to your computer and use it in GitHub Desktop.
Copy-and-paste this in Tomcat context.xml for a H2 datasource configuration to H2 server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Resource name="jdbc/DefaultDB" | |
auth="Container" | |
type="javax.sql.DataSource" | |
username="sa" | |
password="sa" | |
driverClassName="org.h2.Driver" | |
url="jdbc:h2:tcp://localhost/~/test" | |
maxActive="8" | |
maxIdle="4"/> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment