Sean Corfield
f4b8ff5cdb
Prep for 1.0.5 release
2019-08-05 18:30:24 -07:00
Sean Corfield
e0b0c214fd
Improve printability as part of #51
...
Since `str` may be able to realize a row and render it as a string, attempts to print a row use this route to circumvent `print-sequential` failing due to lazy evaluation.
2019-08-02 12:42:00 -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
22b7e6df61
Reword username/user caveat for HikariCP
2019-07-26 12:39:52 -07:00
Sean Corfield
f96a7db087
Note doc improvements
2019-07-26 12:09:38 -07:00
Sean Corfield
7bab6718bc
HikariCP/jTDS caveats
2019-07-26 12:07:36 -07:00
Sean Corfield
87acc3d3cb
Add caveat about HikariCP username
2019-07-25 11:43:35 -07:00
Sean Corfield
79554beb0e
Release 1.0.4@cd679975612ac837f18b46d0e4dfffbd1f67c44f
2019-07-24 22:56:39 -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
5424353f2d
Clarify position on default options
...
I.e., write your own wrapper if you want to globally override options.
2019-07-24 22:49:24 -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
097cdf7d28
Improve connection pooling docs
2019-07-24 15:45:16 -07:00
Sean Corfield
6bc716415f
Merge branch 'master' of github.com:seancorfield/next-jdbc
...
# Conflicts:
# CHANGELOG.md
2019-07-23 20:19:08 -07:00
Sean Corfield
e6cf69503d
Release 1.0.3@9e8477bd4bd58683b08c13861ed025dc0cfae772
2019-07-23 19:07:20 -07:00
Sean Corfield
9e8477bd4b
Prep for 1.0.3 release
2019-07-23 19:02:55 -07:00
Sean Corfield
fef00c694b
Note doc improvements
2019-07-22 20:42:37 -07:00
Sean Corfield
eda2c4c270
Bug fix examples for SettableParameter and ReadableColumn
2019-07-22 16:41:41 -07:00
Sean Corfield
c246c5db6f
Clarify SettableParameter and ReadableColumn usage
2019-07-22 15:47:50 -07:00
Sean Corfield
1b8e4b8c9c
Merge branch 'master' of github.com:seancorfield/next-jdbc
2019-07-22 15:12:19 -07:00
Sean Corfield
5c21d17dec
Add example of extending SettableParameter
2019-07-22 15:12:14 -07:00
Sean Corfield
4f147bdcb9
More documentation tweaks
...
Mostly about `execute-batch!`.
2019-07-20 19:26:06 -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