Sean Corfield
7f702c96fe
Merge branch 'develop' into multi-rs
2020-06-22 23:25:12 -07:00
Sean Corfield
71283ce437
Baseline to 1.0.476
2020-06-22 23:24:56 -07:00
Sean Corfield
c7b4bf06c2
Merge branch 'develop' into nested-tx
2020-06-22 23:24:09 -07:00
Sean Corfield
85734ab724
Prep for 1.0.476
...
Extend default options behavior to `next.jdbc.sql` functions.
2020-06-22 23:16:05 -07:00
Sean Corfield
aed1938e89
Merge branch 'develop' into multi-rs
2020-06-22 17:06:01 -07:00
Sean Corfield
decabae0ab
Restore WIP CHANGELOG
2020-06-22 17:04:33 -07:00
Sean Corfield
ffc15fb1f6
Prep for 1.0.475 release
2020-06-22 16:43:51 -07:00
Sean Corfield
b9b77bb40f
Fixes #122 by adding next.jdbc/with-options
2020-06-22 16:38:13 -07:00
Sean Corfield
aec0693b14
Default SQL Server DB is model
...
Also update branch references.
2020-06-16 11:28:27 -07:00
Sean Corfield
92f7923a2a
Merge branch 'master' into multi-rs
...
# Conflicts:
# test/next/jdbc/test_fixtures.clj
2020-06-07 10:05:33 -07:00
Sean Corfield
4045e18f3e
Fix potential reflection warnings from use of next.jdbc.prepare/statement
2020-06-07 10:02:20 -07:00
Sean Corfield
509e065fbf
Fixes #115 by providing do-commands example
2020-06-07 10:01:12 -07:00
Sean Corfield
35fc00d4b3
Fixes #119 by improving docstrings
2020-06-07 09:39:04 -07:00
Sean Corfield
e201abdc1e
Merge jTDS, updated PostgreSQL testing to multi-rs
2020-06-06 17:26:28 -07:00
Sean Corfield
6167440500
jTDS support; PostgreSQL 12.2.0 support
2020-06-06 17:16:17 -07:00
Sean Corfield
6d362ab611
Prep for 1.0.462 release
2020-05-31 21:41:44 -07:00
Sean Corfield
cc3988e773
Document all the new datafy/nav stuff
2020-05-31 21:32:03 -07:00
Sean Corfield
6a6e42e9af
Expand datafy/nav and metadata support (work in progress)
2020-05-30 23:44:18 -07:00
Sean Corfield
7bbc626950
Prep for 1.0.445 release
2020-05-23 09:43:07 -07:00
Sean Corfield
91b1b25475
Fixes #110 by documenting the solution
...
In addition to adding `row-number` and `column-names`, this also adds
support for associative access by numeric key and indexed access.
2020-05-23 00:01:39 -07:00
Sean Corfield
e855246ff3
Add example of execute-batch! with :return-keys
2020-05-20 15:07:15 -07:00
Sean Corfield
ec97d0affb
Add array handling tip to changelog
2020-05-08 10:34:44 -07:00
Sean Corfield
900703a32a
Add component usage to Getting Started
2020-04-29 19:28:59 -07:00
Sean Corfield
8068afab5c
Note Component support in the change log
2020-04-28 17:36:03 -07:00
Sean Corfield
905f7c3e12
Addresses #106 by adding experimental locking in this case
2020-04-27 17:52:11 -07:00
Sean Corfield
300681bb78
Prep for 1.0.424
2020-04-10 14:36:34 -07:00
Sean Corfield
90aed503bd
More timeout tidying up
2020-04-10 12:50:13 -07:00
Sean Corfield
a3e7b01187
Fixes #103 by documenting timeouts
2020-04-10 12:45:34 -07:00
Sean Corfield
f70d93b156
Surface database metadata handling in Getting Started
2020-04-10 12:07:08 -07:00
Sean Corfield
2fd27d18bd
Improve documentation around next.jdbc.date-time
...
Expands the documentation around each place it is referenced. Expands
the namespace docstring. Adds a mention of it to the result-set
namespace docstring.
2020-04-07 14:29:37 -07:00
Sean Corfield
2574e7e37f
Note MySQL handling of BLOB
2020-03-31 11:58:45 -07:00
Sean Corfield
315d629202
Fixes #102 by supporting keywords in :return-keys
2020-03-27 16:06:38 -07:00
Sean Corfield
f0c4159bff
Support loginTimeout on reified DataSource
2020-03-20 13:51:50 -07:00
Sean Corfield
9947cf9226
Fixes #101 by tightening ::jdbcUrl spec
2020-03-17 10:28:40 -07:00
Sean Corfield
90da9d16a6
Prep for 1.0.409 release
2020-03-16 15:28:44 -07:00
Sean Corfield
780c759541
Complete support for MariaDB #100
...
Adds tests and test dependencies, based on a new environment variable.
Updates change log. Documents difference in generated key return between
MySQL and MariaDB.
2020-03-16 15:19:21 -07:00
Sean Corfield
930b5f0384
Prep for 1.0.405 (documentation)
2020-03-14 16:17:17 -07:00
Sean Corfield
79236b45e5
Improve plan/reduce documentation
...
Also rolls H2 version back so examples work properly. 1.4.200 doesn't
like one of the data types the examples use.
2020-03-08 17:05:13 -07:00
Sean Corfield
a1ef07d1ad
Update README to drive people to cljdoc.org for documentation
2020-03-04 15:06:43 -08:00
Sean Corfield
91aa6a0f7f
Post-release doc prep
2020-03-02 13:56:43 -08:00
Sean Corfield
db993e0d30
Release 1.0.395
2020-03-02 13:49:11 -08:00
Sean Corfield
85da329bde
Prepare for 1.0.next release
...
Should be 1.0.395
2020-03-02 13:48:19 -08:00
Sean Corfield
9755992025
Add read-as-* functions to date/time support
2020-03-02 13:44:00 -08:00
Sean Corfield
051bc9bd9c
Fixes #95 by adding notes about/links to next.jdbc.date-time
2020-03-01 10:11:18 -08:00
Sean Corfield
4d7940a5d3
Reorganize Tips & Tricks after #94
2020-02-28 13:23:06 -08:00
Sean Corfield
9c71be9622
Bump dependencies
2020-02-28 11:47:09 -08:00
Sean Corfield
4ab0ecd7df
Prep for 1.0.384 release
2020-02-28 11:04:11 -08:00
Sean Corfield
b58cf51af5
Prep for 1.0.next versioning
2020-02-28 10:58:47 -08:00
Sean Corfield
eb722b502e
Fixes #93 by improving documentation about datafiable-row
2020-02-28 10:54:28 -08:00
Sean Corfield
bf99299430
Add issue numbers to changelog
2020-02-26 12:00:31 -08:00
Sean Corfield
81743f1484
Address #92 by repeating transaction/connection note
2020-02-26 11:56:08 -08:00
Sean Corfield
126ac58c34
Fixes #88 by calling 1-arity keyword
...
Also supports calling `:qualifier-fn` on an empty table name.
2020-02-26 11:48:42 -08:00
Sean Corfield
cba3ac4cec
Addresses #89 , #90 , #91
2020-02-26 08:55:32 -08:00
Sean Corfield
7d26c29550
Announce move to MAJOR.MINOR.COMMITS versioning
2020-02-18 23:01:20 -08:00
Sean Corfield
f66a68d294
Prep for 1.0.13 release
2019-12-29 16:14:32 -08:00
Sean Corfield
79d2772e14
Attempt to clarify when prepared statements are created
2019-12-25 21:16:24 -08:00
Sean Corfield
a2ba8ff780
Fixes #82 and adds next.jdbc.prepare/statement
2019-12-20 15:45:22 -08:00
Sean Corfield
bcde88e1ee
Prep for 1.0.12
2019-12-11 16:46:42 -08:00
Sean Corfield
205abe2faa
Fixes #81 by splitting next.jdbc.sql
2019-12-11 16:42:28 -08:00
Sean Corfield
b6014e824a
Fixes #80 by carefully avoiding the implicit commit when rollback fails
2019-12-11 16:03:41 -08:00
Sean Corfield
6497641896
Fixes #78 by documenting the workaround
...
Getting Started's notes about HikariCP now link to the issue on that
repo.
2019-12-11 14:45:54 -08:00
Sean Corfield
986c37c457
Prep for 1.0.11 release
2019-12-07 09:21:18 -08:00
Sean Corfield
32e9f338d5
Addresses #76 by not converting SQL Date/Timestamp types
2019-11-26 11:14:41 -08:00
Sean Corfield
17e5843863
Clarify "local" in change log for database testing
2019-11-15 23:44:49 -08:00
Sean Corfield
5b795f95a7
Add optional MS SQL Server testing
2019-11-15 22:37:42 -08:00
Sean Corfield
774e08236f
Add optional MySQL testing
2019-11-15 15:38:51 -08:00
Sean Corfield
18f5a154cf
Minor typo in change log
2019-11-14 21:37:54 -08:00
Sean Corfield
05a6d8a47f
Prep for 1.0.10 release
2019-11-14 19:08:50 -08:00
Sean Corfield
7b6aa69e31
Fixes #73 by adding optional namespace to extend SettableParameter
2019-11-14 17:10:49 -08:00
Sean Corfield
d561a7108e
Fixes #75 by adding java.sql.Statement support
2019-11-14 16:15:52 -08:00
Sean Corfield
e404c47d83
Fixes #74 by mollifying Eastwood
2019-11-13 10:40:59 -08:00
Sean Corfield
5e52d30927
Improve docs for column name conflicts
2019-11-13 10:04:52 -08:00
Sean Corfield
6450bfa0f2
Clarify :result-type/:concurrency interaction
...
Also further clarify MS SQL Server behavior.
2019-11-13 09:52:32 -08:00
Sean Corfield
e81f382ef8
Add MS SQL Server to Tips & Tricks
2019-11-13 09:37:21 -08:00
Sean Corfield
bb3048f8f8
More documentation improvements
2019-11-08 11:12:17 -08:00
Sean Corfield
dd70625e8f
Clarify behavior when no rows match a query
2019-11-01 09:34:14 -07:00
Sean Corfield
ea0f1868b3
More documentation for #70
...
Adds CLOB & BLOB SQL Types to Tips & Tricks section with example of
`ReadableColumn` extension and reference to helper/column reader in
`next.jdbc.result-set`.
2019-10-17 18:02:37 -07:00
Sean Corfield
61083eba69
Address #70 by adding/documenting CLOB column reader example
2019-10-14 11:13:36 -07:00
Sean Corfield
27f9e87e27
Bump org.clojure/java.data to 0.1.4
2019-10-14 08:56:20 -07:00
Sean Corfield
7f7cc9d16d
Bump org.clojure/java.data to 0.1.2
2019-10-12 16:17:51 -07:00
Sean Corfield
bde9c2d074
Prep for 1.0.9 release
2019-10-11 11:35:46 -07:00
Sean Corfield
8c75e3a546
Addresses #69 by expanding docs for execute-one!
...
Updates include adding notes on `execute!`, `execute-one!`, and `plan`
in the README, as well as expanding the docstrings for those functions.
2019-10-11 11:26:41 -07:00
Sean Corfield
04237c89ea
Add optional maps adapter
2019-10-04 13:52:23 -07:00
Sean Corfield
222449c9a9
Fixes #68 by clarifying docs around :next.jdbc/update-count
2019-10-01 10:53:23 -07:00
Sean Corfield
58bdb53f34
Fixes #67 by updating specs for :jdbcUrl
2019-09-27 22:22:23 -07:00
Sean Corfield
0e4c6b8d6f
Prep for 1.0.8
2019-09-27 19:59:20 -07:00
Sean Corfield
d778dae634
Formatting consistency
2019-09-27 13:08:09 -07:00
Sean Corfield
6c42d7ce67
Fixes #66 by adding support for :jdbcUrl in db-spec hash map
2019-09-27 13:06:45 -07:00
Sean Corfield
d17222e031
Fixes #65 by adding HugSQL docs
2019-09-27 12:20:02 -07:00
Sean Corfield
8cb05f4495
Fix #63 by adding caveats to qualified column name docs
2019-09-14 18:13:39 -07:00
Sean Corfield
e03de7828a
Document PR #64
...
Add to change log, Getting Started, and ns docstring for
`next.jdbc.specs`. Also note docs in GitHub are for **master** now.
2019-09-14 13:32:34 -07:00
Sean Corfield
3dfc6ffba2
Prep for 1.0.7 release
2019-09-09 16:29:49 -07:00
Sean Corfield
cf45f29b4d
Update change log to reflect merge of #60
2019-09-09 16:27:56 -07:00
Sean Corfield
2c51c549d6
Fixes #60 by documenting/testing simpler :schema format
2019-09-09 16:22:25 -07:00
Sean Corfield
7a110f15ce
Address #60 by adding two new schema formats
...
Still considering what #61 might need.
2019-09-08 17:05:07 -07:00
Sean Corfield
da01eb843a
More doc updates
2019-09-06 02:02:41 -07:00
Sean Corfield
a0b4618083
Doc updates for PostgreSQL = ANY(?) trick
2019-09-04 19:19:32 -07:00
Sean Corfield
296cd51aa5
PostgreSQL IN/= ANY(?) test
...
Hopefully documentation to come!
2019-09-04 18:43:30 -07:00
Sean Corfield
f1b8fea9bb
Prep for 1.0.6 release
2019-08-24 12:05:45 -07:00
Sean Corfield
08e15c61b0
Reword change log entry for #52
2019-08-24 11:06:14 -07:00
Sean Corfield
86bf66612c
Note doc updates in change log
2019-08-22 13:09:54 -07:00
Sean Corfield
9a76e4c25a
Add as-arrays-adapter
2019-08-21 14:47:55 -07:00
Sean Corfield
fed305dd2b
Add and document as-maps-adapter
2019-08-21 14:19:32 -07:00
Sean Corfield
0049b007e5
Fixes #54 by adding new section to Getting Started
2019-08-21 13:30:33 -07:00
Sean Corfield
5e10bdc0fa
Update test.check to 0.10.0
2019-08-12 10:50:35 -07:00
Sean Corfield
87e44ae6a6
Fixes #52 by using US-locale lower-case function
2019-08-08 17:01:23 -07:00
Sean Corfield
f4b8ff5cdb
Prep for 1.0.5 release
2019-08-05 18:30:24 -07:00
Sean Corfield
0fd8bf1a88
Fixes #51 by implementing IPersistentMap in full
...
* `dissoc`, `cons`, `=` -- both realize a full row.
* `count`, `empty` -- do not realize rows, `empty` doesn't use the builder at all.
* `str` -- attempts to realize a row (else returns the same "helpful" string as before).
2019-08-02 12:24:04 -07:00
Sean Corfield
f96a7db087
Note doc improvements
2019-07-26 12:09:38 -07:00
Sean Corfield
cd67997561
Prep for 1.0.4
2019-07-24 22:53:07 -07:00
Sean Corfield
5f3ee300fa
Update change log
2019-07-24 22:50:34 -07:00
Sean Corfield
060ab6ba73
Minor change log update
2019-07-24 18:08:25 -07:00
Sean Corfield
9372ce11cd
Fix #50 by testing against (embedded) PostgreSQL
...
This is the first database that returns lowercase columns in results so
there are a lot of conditionals in the tests now. It also returns entire
rows on inserts instead of just the generated key.
2019-07-24 17:32:58 -07:00
Sean Corfield
9e8477bd4b
Prep for 1.0.3 release
2019-07-23 19:02:55 -07:00
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