addresses #288 by adding xtdb as a :dbtype
Signed-off-by: Sean Corfield <sean@corfield.org>
This commit is contained in:
parent
b2da0156f7
commit
beaaea8f48
3 changed files with 5 additions and 1 deletions
|
|
@ -3,6 +3,7 @@
|
||||||
Only accretive/fixative changes will be made from now on.
|
Only accretive/fixative changes will be made from now on.
|
||||||
|
|
||||||
* 1.3.next in progress
|
* 1.3.next in progress
|
||||||
|
* Address [#288](https://github.com/seancorfield/next-jdbc/issues/288) by adding speculative support for `:dbtype "xtdb"`.
|
||||||
* Fix [#287](https://github.com/seancorfield/next-jdbc/issues/287) by merging user-supplied options over `:return-keys true`.
|
* Fix [#287](https://github.com/seancorfield/next-jdbc/issues/287) by merging user-supplied options over `:return-keys true`.
|
||||||
* Fix [#282](https://github.com/seancorfield/next-jdbc/issues/282) by tracking raw `Connection` objects for active TXs, which relaxes several of the conditions around nested transactions.
|
* Fix [#282](https://github.com/seancorfield/next-jdbc/issues/282) by tracking raw `Connection` objects for active TXs, which relaxes several of the conditions around nested transactions.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -137,6 +137,7 @@
|
||||||
* `sqlserver`, `mssql` -- `com.microsoft.sqlserver.jdbc.SQLServerDriver` -- `1433`
|
* `sqlserver`, `mssql` -- `com.microsoft.sqlserver.jdbc.SQLServerDriver` -- `1433`
|
||||||
* `timesten:client` -- `com.timesten.jdbc.TimesTenClientDriver`
|
* `timesten:client` -- `com.timesten.jdbc.TimesTenClientDriver`
|
||||||
* `timesten:direct` -- `com.timesten.jdbc.TimesTenDriver`
|
* `timesten:direct` -- `com.timesten.jdbc.TimesTenDriver`
|
||||||
|
* `xtdb` -- `xtdb.jdbc.Driver` -- an XTDB wrapper around `postgresql`
|
||||||
|
|
||||||
For more details about `:dbtype` and `:classname` values, see:
|
For more details about `:dbtype` and `:classname` values, see:
|
||||||
https://cljdoc.org/d/com.github.seancorfield/next.jdbc/CURRENT/api/next.jdbc.connection#dbtypes"
|
https://cljdoc.org/d/com.github.seancorfield/next.jdbc/CURRENT/api/next.jdbc.connection#dbtypes"
|
||||||
|
|
|
||||||
|
|
@ -130,7 +130,9 @@
|
||||||
:host :none}
|
:host :none}
|
||||||
"timesten:direct" {:classname "com.timesten.jdbc.TimesTenDriver"
|
"timesten:direct" {:classname "com.timesten.jdbc.TimesTenDriver"
|
||||||
:dbname-separator ":dsn="
|
:dbname-separator ":dsn="
|
||||||
:host :none}})
|
:host :none}
|
||||||
|
"xtdb" {:classname "xtdb.jdbc.Driver"
|
||||||
|
:port 5432}})
|
||||||
|
|
||||||
(def ^:private driver-cache
|
(def ^:private driver-cache
|
||||||
"An optimization for repeated calls to get-datasource, or for get-connection
|
"An optimization for repeated calls to get-datasource, or for get-connection
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue