Commit Graph

264 Commits

Author SHA1 Message Date
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
268b0500f1 Fix testGetGeneratedKeysSingleLong 2018-09-24 00:30:16 -04:00
05d6c4c4be Disable jdk6 test until https issue can be resolved 2018-09-24 00:16:47 -04:00
3d3ae891ad Rename auto_table from tests to avoid collisions 2018-09-24 00:16:17 -04:00
04c3d429a0 Add testGetGeneratedKeysSingleLong tests 2018-09-24 00:04:50 -04:00
10b1806b26 Add QueryMapper methods insertGetGeneratedKey and insertGetGeneratedKeyType 2018-09-21 00:35:20 -04:00
185b4eb501 Fix jdk6 travis build, failed due to TLS 1.2 on maven central 2018-09-21 00:04:07 -04:00
1e9bf0dc5a Alternate oracle-xe download in .travis.yml 2018-09-20 23:59:37 -04:00
22fad7f487 Fix documentation markdown 2018-09-06 01:17:08 -04:00
08b9348447 More documentation 2018-09-06 01:15:37 -04:00
8e677aa92e Fix ResultSet leak in toStream 2018-09-06 01:15:20 -04:00
d85e5ce7f1 Rearrange readme 2018-09-05 23:16:36 -04:00
e896a66e0e Fix nested list format 2018-09-05 00:13:22 -04:00
f85101fc67 More documentation 2018-09-05 00:07:36 -04:00
f0f627a3b3 Finish documenting 'Column to Object Mapping' 2018-09-04 23:24:59 -04:00