Commit Graph

278 Commits

Author SHA1 Message Date
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
1a161d7214 Refactor and make safe NullQueryMapper 2018-10-10 00:10:00 -04:00
a490154334 Fix QueryMapper toResultSet and insertGetGeneratedKeyType to use PreparedStatementFactory and become un-ambiguous 2018-10-09 22:53:49 -04:00
278e99e894 Fix JdbcMapper blob/clob warning messages and mistaken fallthrough to CLOB case from BLOB 2018-10-09 00:23:22 -04:00
fad614f85a Partially implement PreparedStatement.getGeneratedKeys() returning long/Long in JdbcMapper 2018-09-26 00:30:11 -04:00
b04e9092d2 Get rid of SourceVersion warnings 2018-09-25 23:53:58 -04:00
6988a438ba Re-enable and fix jdk6 travis tests 2018-09-25 23:35:44 -04:00
d63e719ce0 Add missing overrided toResultSet methods to List and Null QueryMappers 2018-09-25 20:42:53 -04:00
7524893ed7 Add overloads for QueryMapper.insertGetGeneratedKeyType 2018-09-25 20:38:43 -04:00
d9a83a5edf Hopefully fix QueryMapper.insertGetGeneratedKey() for all databases finally 2018-09-25 20:23:48 -04:00
c80bc43243 Remove some incorrect QueryMapper.toResultSet overrides 2018-09-25 20:14:08 -04:00
1003819064 Attempt to fix testGetGeneratedKeysSingleLong for oracle 2018-09-24 00:51:18 -04:00