Commit Graph

289 Commits

Author SHA1 Message Date
2795b77584 Bump junit from 4.11 to 4.13.1 2020-10-21 00:04:32 -04:00
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
4f5800a269 Add OpenJDK 16 CI tests 2020-06-17 01:29:00 -04:00
1e4a1c2371 Allow parens directly before and after FROM 2020-03-31 23:50:48 -04:00
3a51d6ee56 Fix breakage when encountering TYPE_USE annotations 2020-03-31 21:35:49 -04:00
39dbefda64 Add testing on OpenJDK 15 2020-03-31 21:34:33 -04:00
aac0f30e8a Extend SimpleSQLParser to support more SQL, add tests 2020-03-31 21:26:37 -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
d6d77c9528 Update snapshots for @RunInTransaction void support 2019-07-21 00:42: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
14d4b897ad Fix travis-ci build, re-enable Oracle tests 2019-07-15 10:49:58 -04:00
73867bb011 SimpleSQLChecker handles Stream in-lists 2019-07-12 17:22:38 -04:00
27f26e6ef4 SimpleSQLParser supports subqueries-as-columns now 2019-07-12 15:13:51 -04:00
943ac3ac85 JdbcMapper allow wildcards for java.sql.ResultSet 2019-07-12 14:03:23 -04:00
62bf29dc2b Change default JdbcMapper.beanSuffix 2019-07-11 00:39:52 -04:00
1a37b1c4d1 Add OpenJDK 14 to travis-ci tests, disable oracle tests since maven.oracle.com is broken 2019-07-02 11:14:52 -04:00
54e99e41aa Make sure EnsureContext is called before defaultInList is set up 2019-07-02 09:44:27 -04:00
168186d43f Fix SQLChecker for bind in lists and Bindable sql params 2019-03-12 00:34:23 -04:00
1766a9af6d JdbcMapperProcessor considers anything implementing Bindable a shortcut for {sql:} 2019-03-10 23:40:16 -04:00
e47ec84325 Clean up SqlBuilder API 2019-03-10 22:02:10 -04:00
a535465a2a Update snapshots for last commit 2019-03-08 11:31:05 -05:00
39402c8613 Fix regression in QueryMapper.toResultSet() when ListQueryMapper was moved up, add tests for fix 2019-03-08 10:56:10 -05:00
94d3ba89e0 SimpleSQLChecker tighten up exception handling 2019-02-15 12:38:55 -05:00
7b1b83fddd Lazy load SQLChecker so it doesn't error if it won't be used 2019-02-15 11:12:24 -05:00
bf7be50d89 Correct readme 2019-02-11 01:00:51 -05:00
29ec477334 Start PreparedStatement binding documentation, fix some omissions/inconsistencies between QueryMapper and JdbcMapper 2019-02-11 00:55:24 -05:00
73729f5622 Upgrade c3p0 in test module 2019-02-09 23:45:39 -05:00
46a37f6571 Implement snapshot tests for generated code 2019-02-09 23:37:17 -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
5e7bf3e0e2 Fix getGeneratedKey test 2019-02-05 23:11:45 -05:00
f24ba9ba0b Fix bug with generated SQL for getGeneratedKey, add unit test for it 2019-02-04 23:23:37 -05:00
f9dff338da Add a bit to readme.md 2019-01-16 11:26:43 -05:00
ca43a27db9 Revert "Delete ListQueryMapper"
This reverts commit 3f4d3121
2019-01-16 10:42:32 -05:00
68db5eda17 travis-ci: Remove OracleJDK 11, add OpenJDKs 12 and 13 2019-01-16 00:01:58 -05:00
3f4d3121b4 Delete ListQueryMapper 2019-01-15 23:48:27 -05:00
3a562ad88a First step towards deleting ListQueryMapper, moving inList up to QueryMapper 2019-01-15 23:30:00 -05:00
508b7cfc51 Fix travis-ci openjdk6 build, disable oraclejdk10 build 2019-01-11 01:12:04 -05:00
e7f191f54b Reuse variable 2019-01-10 23:09:17 -05:00
243bf8c1ae Add @JdbcMapper.SkipSQLCheck annotation, and another method to skip SQL checking in SimpleSQLChecker 2018-10-25 21:54:43 -04:00
20c5cb6f8d Add SpringRepository and SpringScope annotations for generating JdbcMapper implementations with spring annotations 2018-10-23 01:22:29 -04:00
8698c2740d Fix NullListQueryMapper.java for java6 2018-10-11 01:01:19 -04:00
7c053176d2 Add NullListQueryMapper.java 2018-10-11 00:58:57 -04:00
a378e640ae Fix ListQueryMapper 2018-10-11 00:33:52 -04:00