-
-
Notifications
You must be signed in to change notification settings - Fork 651
Closed
Description
UPD: Dublicates #587
CIDER 20140718.747
When I trying to get c3p0
pool I've got
error in process filter: Unmatched bracket or quote
.
The way to reproduce:
Add c3p0
to project :dependencies
[com.mchange/c3p0 "0.9.5-pre8"]
[com.h2database/h2 "1.4.178"] ;; in this example
(import 'com.mchange.v2.c3p0.ComboPooledDataSource)
(let [{:keys [classname subprotocol subname user password]
:as other-spec}
{:subprotocol "h2"
:subname (str
"file:/tmp/test_db"
";DATABASE_TO_UPPER=false;DB_CLOSE_DELAY=-1;")
:classname "org.h2.Driver"
:user "test"
:password "test"}
cpds (doto (ComboPooledDataSource.)
(.setDriverClass classname)
(.setJdbcUrl (str "jdbc:" subprotocol ":" subname))
(.setUser user)
(.setPassword password))]
{:datasource cpds})
Evaluating let
leads to such error. The same problem may involve some other java objects, but I caught this one.
Metadata
Metadata
Assignees
Labels
No labels