From 23ab03d391ee4b01992ab382490ed2341bb98def Mon Sep 17 00:00:00 2001 From: Sean Corfield Date: Wed, 10 Jul 2019 20:08:09 -0700 Subject: [PATCH] Another TimesTen tweak Client connections also don't have host/port because TimesTen uses ODBC under the hood it seems. --- src/next/jdbc/connection.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/next/jdbc/connection.clj b/src/next/jdbc/connection.clj index 155db94..c2165b6 100644 --- a/src/next/jdbc/connection.clj +++ b/src/next/jdbc/connection.clj @@ -144,7 +144,7 @@ (str "./" dbname))) (#{"derby" "hsqldb" "sqlite"} subprotocol) (str "jdbc:" subprotocol ":" dbname) - (#{"timesten:direct"} subprotocol) + (#{"timesten:client" "timesten:direct"} subprotocol) (str "jdbc:" subprotocol db-sep dbname) :else (str "jdbc:" subprotocol ":"