Commit graph

50 commits

Author SHA1 Message Date
Sean Corfield
c9a9310449 Update test deps 2019-07-19 12:33:45 -07:00
Sean Corfield
2c06b3c42e Update change log for #48 2019-07-18 12:17:22 -07:00
Sean Corfield
b1b2f13ebb Rename jdbc-url to ->pool 2019-07-18 11:01:55 -07:00
Sean Corfield
60c1e6660f Support connection pooling more easily 2019-07-17 23:50:56 -07:00
Sean Corfield
7306e5ed3a Prep for 1.0.2 release 2019-07-15 13:45:00 -07:00
Sean Corfield
816fc7ce4b Fix #47 by refactoring how db-specs are built 2019-07-14 21:46:59 -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
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
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
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
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
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
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
Sean Corfield
fa31d7ef37 Note doc updates in change log 2019-06-04 10:46:00 -07:00
Sean Corfield
cbf10e581b Put unreleased changes at the top 2019-05-29 19:28:04 -07:00
Sean Corfield
33800c0850 Minor cleanup 2019-05-29 19:23:35 -07:00
Sean Corfield
382d1bef10 Fix #24 by adding type hints 2019-05-29 13:51:11 -07:00
Sean Corfield
6a9df0f4aa Fix #22 by adding next.jdbc.optional
Includes four `as*maps` builders that omit `NULL` columns completely 
from the returned row hash maps.
2019-05-25 19:16:30 -07:00
Sean Corfield
de0afef813 Prepare for Beta 1
Primarily a documentation update pass, since the code changes were 
already made.
2019-05-24 16:54:10 -07:00
Sean Corfield
704fb899e3 Add #3 to unreleased change list 2019-05-22 16:58:36 -07:00
Sean Corfield
a32c5b9e66 Address #16 by renaming reducible! to plan for Beta 1 2019-05-22 16:22:14 -07:00
Sean Corfield
adf5a03e05 Address #21 by adding next.jdbc.specs
Docs still need to be updated for this!
2019-05-21 21:45:05 -07:00
Sean Corfield
45f25d1912 Clean up and small doc improvements 2019-05-10 14:17:49 -07:00
Sean Corfield
99ee285689 Fix #19 by caching loaded database driver classes 2019-05-08 15:11:37 -07:00
Sean Corfield
ff94962e27 Fixes #18 by cleaning up connection properties better. 2019-05-04 23:59:48 -07:00
Sean Corfield
2d045b0c95 Alpha 12; fixes #17; improves docs 2019-04-26 22:46:42 -07:00
Sean Corfield
ee2fcc47ab Fixes #17 by changing sql-string to sql-params 2019-04-26 10:34:26 -07:00
Sean Corfield
adc1abab8d Prep for 1.0.0-alpha11 release
cljdoc failed on alpha10 because `cljdoc.edn` had the wrong filename.
2019-04-24 16:05:03 -07:00
Sean Corfield
a216bfcb16 Prep for 1.0.0-alpha10 release 2019-04-24 15:57:20 -07:00
Sean Corfield
cf75268087 Rename :gen-fn to :builder-fn 2019-04-24 14:22:35 -07:00
Sean Corfield
13ad917864 Fix #15 by passing SQL string to builders
Adds internal `:next.jdbc/sql-string` option.
2019-04-24 10:07:52 -07:00
Sean Corfield
2c018654d3 Alpha 9; fixes #14; improves protocol docstrings
* Move documentation from `ns` into `defprotocol` and the method 
declarations.
* Indicate which protocols may be extended via metadata 
(`SettableParameter` and `Sourceable`).
2019-04-22 17:41:31 -07:00
Sean Corfield
e091321696 Alpha 8; with correct Getting Started instructions! 2019-04-21 18:19:08 -07:00
Sean Corfield
f4eefbaeac Final doc cleanup prior to initial public announcement 2019-04-21 18:08:09 -07:00
Sean Corfield
8a44a8cbca Prepare for public viewing/contribution 2019-01-09 22:05:58 -08:00
Sean Corfield
a8c1c37cfd Baseline project setup 2019-01-07 20:38:58 -08:00