Created
August 27, 2014 02:25
-
-
Save murphysean/7d59cfc69c9b0e2a4be5 to your computer and use it in GitHub Desktop.
SQLite Resource Template
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
<Context> | |
<Resource | |
name="jdbc/example" | |
auth="Container" | |
driverClassName="org.sqlite.JDBC" | |
initialSize="0" | |
maxActive="15" | |
maxIdle="3" | |
minIdle="0" | |
maxWait="-1" | |
validationQuery="SELECT 1" | |
connectionInitSqls="PRAGMA foreign_keys = ON" | |
testOnBorrow="true" | |
removeAbandoned="true" | |
removeAbandonedTimeout="60" | |
username="username" | |
password="password" | |
type="javax.sql.DataSource" | |
url="jdbc:sqlite:/path/to/sqlite/file/example.db"/> | |
</Context> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment