1. Shantanu Kumar
  2. Clj-DBCP

Commits

shantanuk  committed fc13ed7

fix regression - auto-create database for network mode

  • Participants
  • Parent commits ad142e1
  • Branches default

Comments (0)

Files changed (1)

File src/main/clj/org/bituf/clj_dbcp.clj

View file
  • Ignore whitespace
   See also: derby-datasource, derby-args"
   [host:port db-name]
   (derby-datasource
-    nil (format "//%s/%s" host:port db-name)))
+    nil (format "//%s/%s;create=true;" host:port db-name)))
 
 
 (defn derby-filesystem-datasource