Fixes #45 by adding TimesTen driver suport

This commit is contained in:
Sean Corfield 2019-07-10 19:32:24 -07:00
parent 35d3ead519
commit bb753f363b
3 changed files with 9 additions and 3 deletions

View file

@ -6,6 +6,7 @@ Only accretive/fixative changes will be made from now on.
The following changes have been committed to the **master** branch since the 1.0.1 release: The following changes have been committed to the **master** branch since the 1.0.1 release:
* Fix #45 by adding TimesTen driver support.
* Fix #42 by adding specs for `execute-batch!` and `set-parameters` in `next.jdbc.prepare`. * Fix #42 by adding specs for `execute-batch!` and `set-parameters` in `next.jdbc.prepare`.
* Fix #41 by improving docstrings and documentation, especially around prepared statement handling. * Fix #41 by improving docstrings and documentation, especially around prepared statement handling.
* Fix #40 by adding `next.jdbc.prepare/execute-batch!`. * Fix #40 by adding `next.jdbc.prepare/execute-batch!`.

View file

@ -86,7 +86,9 @@
* `pgsql` -- `com.impossibl.postgres.jdbc.PGDriver` -- no default port * `pgsql` -- `com.impossibl.postgres.jdbc.PGDriver` -- no default port
* `redshift` -- `com.amazon.redshift.jdbc.Driver` -- no default port * `redshift` -- `com.amazon.redshift.jdbc.Driver` -- no default port
* `sqlite` -- `org.sqlite.JDBC` * `sqlite` -- `org.sqlite.JDBC`
* `sqlserver`, `mssql` -- `com.microsoft.sqlserver.jdbc.SQLServerDriver` -- `1433`" * `sqlserver`, `mssql` -- `com.microsoft.sqlserver.jdbc.SQLServerDriver` -- `1433`
* `timesten:client` -- `com.timesten.jdbc.TimesTenClientDriver`
* `timesten:direct` -- `com.timesten.jdbc.TimesTenDriver`"
^javax.sql.DataSource ^javax.sql.DataSource
[spec] [spec]
(p/get-datasource spec)) (p/get-datasource spec))

View file

@ -30,7 +30,9 @@
"pgsql" "com.impossibl.postgres.jdbc.PGDriver" "pgsql" "com.impossibl.postgres.jdbc.PGDriver"
"redshift" "com.amazon.redshift.jdbc.Driver" "redshift" "com.amazon.redshift.jdbc.Driver"
"sqlite" "org.sqlite.JDBC" "sqlite" "org.sqlite.JDBC"
"sqlserver" "com.microsoft.sqlserver.jdbc.SQLServerDriver"}) "sqlserver" "com.microsoft.sqlserver.jdbc.SQLServerDriver"
"timesten:client" "com.timesten.jdbc.TimesTenClientDriver"
"timesten:direct" "com.timesten.jdbc.TimesTenDriver"})
(def ^:private aliases (def ^:private aliases
"Map of schemes to subprotocols. Used to provide aliases for `:dbtype`." "Map of schemes to subprotocols. Used to provide aliases for `:dbtype`."
@ -61,7 +63,8 @@
"Map of schemes to separators. The default is `/` but a couple are different." "Map of schemes to separators. The default is `/` but a couple are different."
{"mssql" ";DATABASENAME=" {"mssql" ";DATABASENAME="
"sqlserver" ";DATABASENAME=" "sqlserver" ";DATABASENAME="
"oracle:sid" ":"}) "oracle:sid" ":"
"timesten:direct" ":dsn="})
(def dbtypes (def dbtypes
"A map of all known database types (including aliases) to the class name(s) "A map of all known database types (including aliases) to the class name(s)