Advertisement
Guest User

Untitled

a guest
Sep 10th, 2017
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <Context path="/mywebapp">
  3. <Resource name="jdbc/mydb" auth="Container" type="javax.sql.DataSource"
  4. maxActive="100" maxIdle="30" maxWait="10000"
  5. username="myusername" password="mypassword" driverClassName="org.sqlite.JDBC"
  6. url="jdbc:sqlite://Users/me/NetBeansProjects/MyApp/web/my.db"/>
  7. </Context>
  8.  
  9. jdbc:sqlite::memory:
  10.  
  11. jdbc:sqlite:relative/path.db
  12.  
  13. jdbc:sqlite:/absolute/path.db
  14.  
  15. <?xml version="1.0" encoding="UTF-8"?>
  16. <Context path="/mywebapp">
  17. <Resource name="jdbc/mydb" auth="Container" type="javax.sql.DataSource"
  18. maxActive="100" maxIdle="30" maxWait="10000"
  19. username="myusername" password="mypassword" driverClassName="org.sqlite.JDBC"
  20. url="jdbc:sqlite:web/my.db"/>
  21. </Context>
  22.  
  23. jdbc:sqlite:relative/path.db
  24.  
  25. jdbc:sqlite:./relative/path.db
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement