Sean Corfield
bf596de9a2
Release 1.0.2@8e4ef3033cb314cc1641097e111cf62c88ade29d
2019-07-15 13:59:02 -07:00
Sean Corfield
8e4ef3033c
Note :none as possible value for :host
2019-07-15 13:51:23 -07:00
Sean Corfield
7306e5ed3a
Prep for 1.0.2 release
2019-07-15 13:45:00 -07:00
Sean Corfield
8883167805
Finish off #47
...
Make `dbtypes` public again (oops!). Note that it _won't_ contain defaults (if folks feel they need them, they can easily be added). Use `:host :none` in `dbtypes` to indicate a local database (no `:host`/`:port` segment) which is more consistent with how users would specify a new database.
Reduce the number of special cases in the JDBC URL assembly, now that `:host :none` from `dbtypes` can drive that.
2019-07-15 11:15:26 -07:00
Sean Corfield
816fc7ce4b
Fix #47 by refactoring how db-specs are built
2019-07-14 21:46:59 -07:00
Sean Corfield
e0e209aa1c
Merge branch 'master' of github.com:seancorfield/next-jdbc
...
# Conflicts:
# src/next/jdbc/connection.clj
2019-07-14 19:12:42 -07:00
Sean Corfield
06acfac4d7
Typos in CHANGELOG
2019-07-11 15:47:52 -07:00
Sean Corfield
44dba4f29c
Fixes #46 by allowing :host :none
...
Also adds `:dbname-separator` and `:host-prefix` for fine-grained
control over the JDBC URL format.
2019-07-11 15:43:49 -07:00
Sean Corfield
e361f875c1
Add sections to make Getting Started easier to navigate
2019-07-11 15:11:26 -07:00
Sean Corfield
4457161305
Assert/spec/tests for empty cols in insert-multi!
2019-07-11 12:52:36 -07:00
Sean Corfield
4d7a5a440b
Fix #43 by relaxing the spec for insert-multi!
...
Adds tests for `insert-multi!` that pass sequences instead of vectors.
2019-07-11 12:34:02 -07:00
Sean Corfield
821f9b1a5a
Fixes #44
...
Also adds `assert`s in SQL-generating functions, instead of just
producing illegal SQL.
2019-07-11 12:11:32 -07:00
Sean Corfield
23ab03d391
Another TimesTen tweak
...
Client connections also don't have host/port because TimesTen uses ODBC
under the hood it seems.
2019-07-10 20:08:09 -07:00
Sean Corfield
2131136c0d
Another tweak to TimesTen direct
2019-07-10 20:00:40 -07:00
Sean Corfield
2c524614ce
TimesTen client needs special dbname separator too
2019-07-10 19:47:19 -07:00
Sean Corfield
bb753f363b
Fixes #45 by adding TimesTen driver suport
2019-07-10 19:32:24 -07:00
Sean Corfield
35d3ead519
Minor change log update
2019-07-10 12:33:16 -07:00
Sean Corfield
3c32bfe13d
Fixes #42 by adding specs for next.jdbc.prepare API functions
2019-07-10 12:11:26 -07:00
Sean Corfield
79d6f5ef29
Improve documentation around :dbtype
...
Expose `next.jdbc.connection/dbtypes` which is a table of all known
`:dbtype` values and their driver class names, ports, etc.
2019-07-10 11:54:13 -07:00
Sean Corfield
29d46439e6
Fixes #40 by adding next.jdbc.prepare/execute-batch!
2019-07-09 16:00:10 -07:00
Sean Corfield
7184ef996c
Fixes #41 ; Addresses #40 ; Expand prepared statement documentation
...
* Combine adjacent `with-open` calls.
* Show how `set-parameters` is used.
* Add a section on batched parameters, with their caveats, and how to
use them.
2019-07-08 20:48:56 -07:00
Sean Corfield
67f39638a0
Updated insert-multi! doc page to match docstring
2019-07-08 17:22:53 -07:00
Sean Corfield
58aeff56f7
Updated insert-multi! docstring
...
Removed caveat about batching (doesn't apply) but added caveat about
size/parameter limits.
2019-07-08 17:21:28 -07:00
Sean Corfield
dcb632d7cf
Make it clear that next.jdbc.prepare/create should not be called
2019-07-08 12:40:19 -07:00
Sean Corfield
c1ad86c822
Merge pull request #38 from nwjsmith/patch-1
...
Fix typo
2019-07-04 08:24:11 -07:00
Nate Smith
06ec572b22
Fix typo
2019-07-04 11:14:19 -04:00
Sean Corfield
0af95dc507
Release 1.0.1@89af17ef31750db42ac0e15c9e1242eff9e1b978
2019-07-03 20:49:02 -07:00
Sean Corfield
89af17ef31
Prep for 1.0.1 release
2019-07-03 20:30:29 -07:00
Sean Corfield
ba4dc837e1
Fixes #33 by improving specs
2019-07-02 18:50:25 -07:00
Sean Corfield
1fe7e92df2
Fixes #34 by adding save point tests
...
And updating the Transactions documentation to show save point examples.
2019-07-02 18:36:00 -07:00
Sean Corfield
1cec0a2643
Fixes #37 ; Fixes #36
...
* Fix `with-transaction` spec and how it invokes `transact` when no
options map is provided.
* Adds type hint to `with-transaction`.
* Document manual rollback of transactions.
2019-07-02 16:45:48 -07:00
Sean Corfield
85eba1bb2f
Fixes #35 by documenting the DB-specific insert multi options
2019-06-28 19:18:26 -07:00
Sean Corfield
8ed575db5b
Merge pull request #32 from jreighley/patch-1
...
Correct beta release date.
2019-06-13 11:28:27 -06:00
jreighley
eb50d536f7
Correct beta release date.
...
beta appears to have been released May 24, not June 24th.
2019-06-13 09:49:14 -07:00
Sean Corfield
43f7463799
Release 1.0.0@9280b9ab4753a62e14b564df0797c124af14e4ad
2019-06-12 22:09:46 -07:00
Sean Corfield
9280b9ab47
Correct code reference
2019-06-12 22:03:26 -07:00
Sean Corfield
5448d49d74
Prep for 1.0.0 gold release
2019-06-12 21:49:09 -07:00
Sean Corfield
e1b42b1804
Address #31 by improving string representation of reified objects
...
At least this should give a hint as to what you did wrong...
2019-06-11 16:47:58 -07:00
Sean Corfield
a09612cebe
Some doc clarifications
2019-06-08 18:11:16 -07:00
Sean Corfield
d50917fc9f
Default Clojure is 1.10.1
2019-06-08 18:10:52 -07:00
Sean Corfield
24c2553b87
Create CODE_OF_CONDUCT.md
2019-06-08 17:50:14 -07:00
Sean Corfield
3919971930
Add issue templates
2019-06-08 17:48:00 -07:00
Sean Corfield
22a3f2bb5f
Fix #26 by adding datafiable-result-set
...
This makes handling metadata result sets much easier.
2019-06-08 15:09:42 -07:00
Sean Corfield
b4331146ff
Stop Joker flagging some ns as unused
...
These are pulled into `next.jdbc` to extend/implement protocols only.
2019-06-07 17:39:58 -07:00
Sean Corfield
88fcaa5869
Add example of custom naming via result set builder
2019-06-06 09:48:00 -07:00
Sean Corfield
8405193209
Improve migration docs
2019-06-04 18:39:18 -07:00
Sean Corfield
5aec053fac
1.0.0-rc1 is no longer "upcoming"
2019-06-04 18:12:16 -07:00
Sean Corfield
cb4a63b73d
Release 1.0.0-rc1@3b5bfc6d17e2f977bb044714f38f0b2e4f909629
2019-06-04 18:11:04 -07:00
Sean Corfield
3b5bfc6d17
Prep for 1.0.0-rc1 release
2019-06-04 18:03:44 -07:00
Sean Corfield
b64fbf35ff
Fix #30 by adding modified builders
...
Adds `:label-fn` and `:qualifier-fn` options, and `as-modified-*`
builder variants.
2019-06-04 18:01:19 -07:00