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
03092d023f
fix #204 by adding on-connection macro
2022-04-04 16:54:18 -07:00
Sean Corfield
21a520a8d8
make execute-batch! work for with-logging
2021-12-23 22:00:09 -08:00
Sean Corfield
c4df28bfe8
fix #193 by expanding some specs
2021-12-23 16:42:02 -08: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
7e13e719ce
Fixes #161 by adding batch execution for connectable/SQL
2021-03-15 15:16:59 -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
3b749d3b61
Add save point tests for HikariCP/c3p0 #146
2020-11-13 10:27:32 -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
0fcbfcdc74
Add BOOLEAN to SQLite Tips & Tricks example for #134
2020-07-22 16:55:44 -07:00
Sean Corfield
583aa5b545
Add plan bool/bit test to match SQLite Tips & Tricks
2020-07-22 16:35:38 -07:00
Sean Corfield
c2a18bfea6
Address #134 by documenting builder-adapter workaround for SQLite
2020-07-22 16:23:39 -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
d443c28817
Fixes #128 by adding a test
2020-07-05 16:11:43 -07:00
Sean Corfield
65296ee4ad
Fixes #130 by implementing lookup on the adapters
2020-07-05 15:57:10 -07:00
Sean Corfield
b86145f47e
Merge branch 'develop' into multi-rs
2020-06-27 15:05:34 -07:00
Sean Corfield
53b5619566
Quieten fold tests now I've confirmed performance and thread usage
2020-06-27 14:35:18 -07:00
Sean Corfield
90a6476e52
Use execute-batch! to populate 1000 rows for testing foldable
2020-06-27 14:09:54 -07:00
Sean Corfield
7b24e2ff55
Extensive foldable tests
2020-06-27 13:46:38 -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
77ebb31026
Interleave combine with batch reductions #125
2020-06-26 22:21:49 -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
53ee1c5367
Complete CollFold implementation #125
2020-06-26 19:03:57 -07:00
Sean Corfield
0eb183a0a0
Prototype of #125 -- foldable result sets!
2020-06-26 17:38:58 -07:00
Sean Corfield
25cdb3bc3b
Add test of begin/end TSQL script with multiple selects
2020-06-26 15:38:35 -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
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
5e98c828a5
Add jTDS testing
2020-06-06 17:06:11 -07:00
Sean Corfield
73aea0ceef
Add in jTDS tests
2020-06-06 17:05:27 -07:00
Sean Corfield
326977dddc
:multi-rs truthy defaults to sequnce; :delimited available #116
2020-06-06 17:01:13 -07:00
Sean Corfield
ec31aaa427
Add in jTDS tests
2020-06-06 17:01:07 -07:00
Sean Corfield
9240d41ed6
Rename/cleanup log4j2 config
2020-06-06 17:00:59 -07:00
Sean Corfield
0a27e51f37
First steps to multiple result sets #116
2020-06-06 17:00:52 -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
Sean Corfield
53c3b5f48e
Bump java.data to 1.0.78 and surface configurable exception handling
2020-05-31 17:12:38 -07:00
Sean Corfield
ab588070e6
Datafy parameter metadata
2020-05-31 12:23:31 -07:00
Sean Corfield
4be2b7130b
Extend datafication and simplify
...
Handles weird SQLite edge case; datafies Statement and ResultSet;
improves exception handling in `safe-bean` (but we really need a better
bean maker).
2020-05-31 03:02:25 -07:00
Sean Corfield
e406c90d6f
Test result set metadata
2020-05-31 01:04:29 -07:00
Sean Corfield
0952503860
DatabaseMetaData datafication tests
2020-05-31 00:56:44 -07:00
Sean Corfield
db95d370d8
Linter cleanup
2020-05-31 00:20:00 -07:00
Sean Corfield
332cf4a3ed
Fix protocols vs namespace for datafy
2020-05-31 00:19:48 -07:00
Sean Corfield
6a6e42e9af
Expand datafy/nav and metadata support (work in progress)
2020-05-30 23:44:18 -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
1b2ce9767e
Remove spurious comment in test
2020-05-22 22:43:11 -07:00
Sean Corfield
b0b9e53352
Addresses #110 by adding tests around this scenario
2020-05-22 20:16:40 -07:00
Sean Corfield
ec97d0affb
Add array handling tip to changelog
2020-05-08 10:34:44 -07:00
Sean Corfield
f0c4159bff
Support loginTimeout on reified DataSource
2020-03-20 13:51:50 -07:00
Sean Corfield
eda9c93a1c
Alpha-order of DB tests
2020-03-18 11:35:18 -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
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
425d1c367c
Extend copyright to 2020
2020-01-01 13:13:41 -08:00
Sean Corfield
d2b898d044
Ensure result set tests are instrumented
2019-12-20 15:48:08 -08:00
Sean Corfield
a2ba8ff780
Fixes #82 and adds next.jdbc.prepare/statement
2019-12-20 15:45:22 -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
e0c330b707
Make it easier to switch databases in the REPL
2019-11-16 00:50:50 -08:00
Sean Corfield
2b385a6ec5
Add an RCF that uses t.d.a. add-lib to load test deps
...
This makes it easier for me to develop and test `next.jdbc` in the same
REBL setup I use for World Singles Networks development.
2019-11-16 00:36:32 -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
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
b38afcb501
Remove unused require
2019-11-13 10:52:17 -08:00
Sean Corfield
e82094dd86
Expand test for #73 to other databases
...
This verifies that it is _only_ PostgreSQL that cannot do this
conversion!
2019-11-13 10:51:14 -08:00
Sean Corfield
e404c47d83
Fixes #74 by mollifying Eastwood
2019-11-13 10:40:59 -08:00
Sean Corfield
9626d29d5c
Tidy up test output
2019-11-13 09:42:42 -08:00
Sean Corfield
ccf83a2c0a
Merge branch 'master' of github.com:seancorfield/next-jdbc
2019-11-13 09:38:51 -08:00
Sean Corfield
4b01f31578
Move middleware experiment to tests
...
Until I figure out what to do about this, I don't want it accidentally
included in a release!
2019-11-13 09:38:30 -08:00
Sean Corfield
37327c5870
Breaking test for #73
...
Why, PostgreSQL, why?
2019-11-12 20:54:45 -08:00