Sean Corfield
5c21d17dec
Add example of extending SettableParameter
2019-07-22 15:12:14 -07:00
Sean Corfield
8c98f60a30
Misc doc improvements
2019-07-20 16:55:20 -07:00
Sean Corfield
c9a9310449
Update test deps
2019-07-19 12:33:45 -07:00
Sean Corfield
05d9b06ddc
Note Connection Pooling stuff is coming in 1.0.3
2019-07-18 12:25:09 -07:00
Sean Corfield
2c06b3c42e
Update change log for #48
2019-07-18 12:17:22 -07:00
Sean Corfield
b3f462e90b
Fixes #48 by documenting connection/->pool
2019-07-18 12:12:09 -07:00
Sean Corfield
697e4a840f
Improve connection pool tests
2019-07-18 11:24:13 -07:00
Sean Corfield
b1b2f13ebb
Rename jdbc-url to ->pool
2019-07-18 11:01:55 -07:00
Sean Corfield
e76b382016
Update dependencies
2019-07-18 09:55:59 -07:00
Sean Corfield
60c1e6660f
Support connection pooling more easily
2019-07-17 23:50:56 -07:00
Sean Corfield
5cadd9248b
Improve migration docs for with-transaction
2019-07-16 12:36:19 -07:00
Sean Corfield
5d898ef27a
Formatting tweak in ns docstring
2019-07-15 14:09:48 -07:00
Sean Corfield
f38f402df5
Update note about RC/gold releases
2019-07-15 14:04:49 -07:00
Sean Corfield
3ffeb5dda9
Improve docstring
2019-07-15 14:01:42 -07:00
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