Commit Graph

57 Commits

Author SHA1 Message Date
83fdc67e4a Add AutoCloseableUtil.java for java8+ 2020-08-31 21:48:55 -04:00
c143004fc2 Implement {str:booleanParamName} for JdbcMapper to set booleans as Strings for crippled databases like Oracle 2020-06-17 01:36:10 -04:00
c327f24e02 Make FunctionSupplier a FunctionalInterface 2019-07-26 00:56:37 -04:00
595caa4aa8 Switch internal implementation of Cache refresh timing logic 2019-07-26 00:53:10 -04:00
f290187ee0 Add Cache utilities for java8+ only 2019-07-26 00:39:23 -04:00
9e89131a5b Support @RunInTransaction for methods returning void 2019-07-21 00:35:09 -04:00
b62dc1912a Add SingletonCloseable.java and many tests for it 2019-07-20 22:01:09 -04:00
62bf29dc2b Change default JdbcMapper.beanSuffix 2019-07-11 00:39:52 -04:00
54e99e41aa Make sure EnsureContext is called before defaultInList is set up 2019-07-02 09:44:27 -04:00
e47ec84325 Clean up SqlBuilder API 2019-03-10 22:02:10 -04:00
29ec477334 Start PreparedStatement binding documentation, fix some omissions/inconsistencies between QueryMapper and JdbcMapper 2019-02-11 00:55:24 -05:00
89966a616d Make configurable system property JdbcMapper.beanSuffix 2019-02-09 00:38:08 -05:00
267e438ac0 Remove JdbcMapper.WarnOnUnusedParams param in favor of prefixing unused params with _ 2019-02-09 00:16:21 -05:00
664c00a5b2 Implement JdbcMapper.sqlBuilder() method 2019-02-09 00:06:13 -05:00
26617e0781 Move InList and PreparedStatementUtil up to common, add support for custom sql/runtime bind in JdbcMapper 2019-02-07 01:09:15 -05:00
243bf8c1ae Add @JdbcMapper.SkipSQLCheck annotation, and another method to skip SQL checking in SimpleSQLChecker 2018-10-25 21:54:43 -04:00
6988a438ba Re-enable and fix jdk6 travis tests 2018-09-25 23:35:44 -04:00
8e677aa92e Fix ResultSet leak in toStream 2018-09-06 01:15:20 -04:00
db1de1c43f Slight re-factor of ResultSetUtil.java 2018-09-04 23:24:02 -04:00
ac4216709e Minor re-factoring 2018-09-04 01:42:35 -04:00
9c1efdc715 Optimize InListUtil.java 2018-05-23 00:50:12 -04:00
81b91d43e8 Add ListQueryMapper.notInList() and tests 2018-05-22 23:09:57 -04:00
d89078ad89 Rename JdbcMapper.DatabaseType.STANDARD to ANY 2018-05-22 00:11:54 -04:00
5522014f8e Implement JdbcMapper.DatabaseType.BIND support 2018-05-22 00:08:14 -04:00
2f8f293ed2 Refactor BindInList, split out to InListUtil, add unit tests 2018-05-21 01:05:53 -04:00
4874968824 Add annother inlist test where an array is re-used, fix hsqldb string type 2018-05-20 12:51:37 -04:00
7cc5af55fb Implement UnNestArrayInList for hsqldb 2018-05-15 23:32:00 -04:00
30599a15fd Add mariadb and postgresql tests 2018-05-15 22:41:02 -04:00
c2204b4635 Re-work IN LIST support in JdbcMapper to re-use created arrays, and free them after use 2018-05-12 00:30:57 -04:00
50ebcc84cb Begin to refactor tests into single test module 2018-03-15 00:57:57 -04:00
edd6fc6e65 Remove Blob and Clob annotations in favor of SQL bind syntax 2018-03-14 02:25:11 -04:00
9261ee216a Fix mapping null enums, add tests 2018-01-12 16:46:22 -05:00
72906cf3c5 Add @JdbcMapper.RunInTransaction and static support methods to QueryRunner 2017-11-29 23:51:27 -05:00
9829e98ae0 Add support for @SingleRow in JdbcMapper 2017-10-23 00:34:37 -04:00
d2353bd74b Add JdbcMapper.WarnOnUnusedParams annotation 2017-08-07 15:26:52 -04:00
6f23696952 Allow to manually specify columnNames and isSelect for unparseable SQL queries in jdbcmapper 2017-08-04 13:55:05 -04:00
e246af935f Tweak JdbcMapperFactory, now used for QueryMapper and JdbcMapper generated classes 2017-07-03 03:05:53 -04:00
08e2c9354d QueryRunner re-factor 2017-07-03 01:57:52 -04:00
345a4120c8 Add withJitter(maxJitterMs) to QueryRunner.DelayStrategy 2017-07-03 01:20:06 -04:00
f24d4ed03e Add JdbcMapperFactory.connectionFactory() methods 2017-07-03 00:45:36 -04:00
5d9ff80863 Use lambdas where possible in QueryRunner, fix java6 compilation 2017-07-03 00:00:03 -04:00
133c4eb8c9 Add QueryRunner.runRetryCompletableFuture method for java8+ 2017-07-02 23:02:16 -04:00
8400ed3d00 QueryRunner.runRetry and runRetryFuture methods 2017-07-02 01:35:59 -04:00
a22109f31c First go at QueryRunner and Factory<Connection> arg for QueryMapper 2017-07-01 02:07:04 -04:00
46686e5b05 Allow JdbcMapper to use reflection for non-public fields optionally 2017-06-19 00:34:23 -04:00
115a62293e Allow CompilingRowToObjectMapper to use reflection for non-public fields optionally 2017-06-18 21:58:55 -04:00
fe2a6eec22 Support for java.time api classes 2017-06-13 22:56:00 -04:00
280e11b713 Implement toStream() in querymapper 2017-06-12 22:57:43 -04:00
d74c272e73 Add ResultSetIterable support to querymapper 2017-06-08 23:02:12 -04:00
e28c1fef14 Add support for maxRows in the annotation and sent in dynamically 2017-06-08 00:09:00 -04:00