James Henderson
61471aae22
always call setReadOnly when opening a transaction:
...
if the connection is read-only and the user supplies `{:read-only false}` as tx opts, we should call `(.setReadOnly conn false)` when we open the transaction, and reset it afterwards
2022-09-07 10:02:14 +01:00
Sean Corfield
d83ab07f9f
fix #215 by dropping JDK8 and updating drivers
...
Note: disabled HikariCP testing on MS SQL until I figure out non-SSL connections
2022-08-30 23:06:17 -07:00
Sean Corfield
af57829fcb
fix #218 by moving the protocol option
2022-08-28 21:30:26 -07:00
Sean Corfield
6ea7150326
fix #211
2022-08-14 10:47:52 -07:00
Sean Corfield
3ed1f4b99c
expand docs/tests for #206
2022-05-20 11:53:53 -07:00
Ryan Schmukler
003d47ea5e
feat: insert-multi! :batch option
...
Adds support for using a `:batch` option to make `insert-multi!` use
`execute-batch!` instead of `execute!`.
2022-05-20 12:53:23 -05:00
Ryan Schmukler
0531ae0268
feat: insert hashmaps with sql.insert-multi!
...
Updates the API of `sql/insert-multi!` to support sequences of hash maps
which will automatically be converted into rows and columns.
2022-05-20 12:43:48 -05:00
Sean Corfield
b76b60d964
update list of visualization tools
2021-10-09 22:56:22 -07:00
Sean Corfield
164572969b
Fixes #167 by adding property separator
2021-06-09 19:14:41 -07:00
Sean Corfield
dd62b5fcff
Fixes #158 by documenting allowMultiQueries for MySQL
2021-03-06 15:01:05 -08:00
Sean Corfield
a1e51bf007
Fix #157 by adding next.jdbc/execute-batch!
...
This breaks the circular dependency completely.
`next.jdbc.prepare/execute-batch!` is deprecated.
2021-01-30 16:36:05 -08:00
Sean Corfield
dc240652fc
It's 2021
2021-01-29 16:13:05 -08:00
Sean Corfield
9d8e5f808a
Make embedded PG db-spec compliant with ->pool Spec
2020-11-13 10:26:53 -08:00
Sean Corfield
5e3657c25f
Update REPL loading code to add-lib3 from t.d.a.
2020-10-25 15:03:31 -07:00
Sean Corfield
9cc0577214
Change (supposedly) opaque wrapper used by next.jdbc.types/as-* fns
2020-09-25 15:09:44 -07:00
Sean Corfield
3c50e801bf
Add -X function to create the MySQL DB
2020-09-11 20:49:14 -07:00
Sean Corfield
fdeea5c0e9
Fixes #139 by adding select! and select-one!
2020-09-09 12:29:33 -07:00
Sean Corfield
b210cbead7
Address #134 by adding tests around bool/bit types
2020-07-22 15:32:54 -07:00
Sean Corfield
2f89d3d52b
Kondo cleanup
2020-07-22 15:32:26 -07:00
Sean Corfield
734c4bfada
Fixes #133 by adding :return-generated-keys to execute-batch!
2020-07-22 13:01:51 -07:00
Sean Corfield
931023de09
Address #121 by adding conditional builders/options for CSK
2020-07-08 11:52:22 -07:00
Sean Corfield
8a8a0b2122
Fixes #129 by adding builder-adapter and with-column-value
2020-07-07 14:19:12 -07:00
Sean Corfield
65296ee4ad
Fixes #130 by implementing lookup on the adapters
2020-07-05 15:57:10 -07:00
Sean Corfield
c36858ca95
Merge branch 'develop' into multi-rs
2020-06-26 22:39:44 -07:00
Sean Corfield
265c624f81
Merge branch 'foldable' into develop
2020-06-26 22:25:25 -07:00
Sean Corfield
8085acfcfc
Fix conditional PG testing
2020-06-26 19:17:21 -07:00
Sean Corfield
0cc88f816b
Make PostgreSQL testing suppressable for systems that cannot run EmbeddedPostgreSQL
2020-06-26 19:13:38 -07:00
Sean Corfield
d974ed2313
Merge branch 'develop' into multi-rs
2020-06-25 19:34:20 -07:00
Sean Corfield
9987d84210
Closes #77 by removing the experimental middleware code
2020-06-25 19:22:59 -07:00
Sean Corfield
a66e87aed0
Merge branch 'develop' into multi-rs
2020-06-25 19:12:11 -07:00
Sean Corfield
3c4638a269
Support :columns option to filter results in find/get
2020-06-25 12:48:22 -07:00
Sean Corfield
4de1d445ec
Address #124 by fixing bug in builder; adding tests
2020-06-24 22:25:28 -07:00
Sean Corfield
26b8fa1600
Fixes #124 by supporting pagination
...
Support `:all` in `find-by-keys`. Document all these options. Update the
specs.
2020-06-24 19:27:32 -07:00
Sean Corfield
5b15215f83
Address #124 by adding support for top/limit/offset/fetch
...
Also allows find where clause to be nil/empty (instead of generating
invalid SQL).
2020-06-24 18:55:08 -07:00
Sean Corfield
0cfbb58b2e
Clean up multi-rs results
...
Accept that PostgreSQL does not support this yet.
2020-06-24 12:33:32 -07:00
Sean Corfield
2a8571bb14
Merge branch 'develop' into multi-rs
2020-06-24 12:01:43 -07:00
Sean Corfield
03792303bc
Fixes #123 by adding type-hinting functions
2020-06-24 11:23:40 -07:00
Sean Corfield
7f702c96fe
Merge branch 'develop' into multi-rs
2020-06-22 23:25:12 -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
b9b77bb40f
Fixes #122 by adding next.jdbc/with-options
2020-06-22 16:38:13 -07:00
Sean Corfield
067919a296
Roll multi-rs across execute-all for all types
2020-06-07 12:13:32 -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
509e065fbf
Fixes #115 by providing do-commands example
2020-06-07 10:01:12 -07:00
Sean Corfield
cfd403301f
Improve readability of informational messages in tests
2020-06-07 09:40:05 -07:00
Sean Corfield
6167440500
jTDS support; PostgreSQL 12.2.0 support
2020-06-06 17:16:17 -07:00
Sean Corfield
73aea0ceef
Add in jTDS tests
2020-06-06 17:05:27 -07:00
Sean Corfield
ec31aaa427
Add in jTDS tests
2020-06-06 17:01:07 -07:00
Sean Corfield
3a6539f3e2
Switch to zonky embedded PG; add jtds testing; add logging control
2020-06-06 17:00:39 -07:00
Sean Corfield
cc1781d3fb
Adjust tests to match new exception handling
2020-05-31 17:42:07 -07:00