Advertisement
Guest User

Untitled

a guest
Jan 16th, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. val c = ConfigFactory.load()
  2. System.err.println(c.root().render())
  3.  
  4. # dev/application.conf: 1
  5. "myapp" : {
  6. # dev/application.conf: 47
  7. "db" : {
  8. # dev/application.conf: 49
  9. "driver" : "org.h2.Driver",
  10. # dev/application.conf: 48
  11. "url" : "jdbc:h2:file:${java.io.tmpdir}/db;DB_CLOSE_DELAY=-1"
  12. }
  13. ...
  14. }
  15. # system properties
  16. "java" : {
  17. # system properties
  18. "io" : {
  19. # system properties
  20. "tmpdir" : "/tmp"
  21. },
  22. ....
  23.  
  24. url = "jdbc:h2:file:"${java.io.tmpdir}"/db;DB_CLOSE_DELAY=-1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement