Commit Graph

268 Commits

Author SHA1 Message Date
Travis Burtrum 168186d43f Fix SQLChecker for bind in lists and Bindable sql params 2019-03-12 00:34:23 -04:00
Travis Burtrum 1766a9af6d JdbcMapperProcessor considers anything implementing Bindable a shortcut for {sql:} 2019-03-10 23:40:16 -04:00
Travis Burtrum e47ec84325 Clean up SqlBuilder API 2019-03-10 22:02:10 -04:00
Travis Burtrum a535465a2a Update snapshots for last commit 2019-03-08 11:31:05 -05:00
Travis Burtrum 39402c8613 Fix regression in QueryMapper.toResultSet() when ListQueryMapper was moved up, add tests for fix 2019-03-08 10:56:10 -05:00
Travis Burtrum 94d3ba89e0 SimpleSQLChecker tighten up exception handling 2019-02-15 12:38:55 -05:00
Travis Burtrum 7b1b83fddd Lazy load SQLChecker so it doesn't error if it won't be used 2019-02-15 11:12:24 -05:00
Travis Burtrum bf7be50d89 Correct readme 2019-02-11 01:00:51 -05:00
Travis Burtrum 29ec477334 Start PreparedStatement binding documentation, fix some omissions/inconsistencies between QueryMapper and JdbcMapper 2019-02-11 00:55:24 -05:00
Travis Burtrum 73729f5622 Upgrade c3p0 in test module 2019-02-09 23:45:39 -05:00
Travis Burtrum 46a37f6571 Implement snapshot tests for generated code 2019-02-09 23:37:17 -05:00
Travis Burtrum 89966a616d Make configurable system property JdbcMapper.beanSuffix 2019-02-09 00:38:08 -05:00
Travis Burtrum 267e438ac0 Remove JdbcMapper.WarnOnUnusedParams param in favor of prefixing unused params with _ 2019-02-09 00:16:21 -05:00
Travis Burtrum 664c00a5b2 Implement JdbcMapper.sqlBuilder() method 2019-02-09 00:06:13 -05:00
Travis Burtrum 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
Travis Burtrum 5e7bf3e0e2 Fix getGeneratedKey test 2019-02-05 23:11:45 -05:00
Travis Burtrum f24ba9ba0b Fix bug with generated SQL for getGeneratedKey, add unit test for it 2019-02-04 23:23:37 -05:00
Travis Burtrum f9dff338da Add a bit to readme.md 2019-01-16 11:26:43 -05:00
Travis Burtrum ca43a27db9 Revert "Delete ListQueryMapper"
This reverts commit 3f4d3121
2019-01-16 10:42:32 -05:00
Travis Burtrum 68db5eda17 travis-ci: Remove OracleJDK 11, add OpenJDKs 12 and 13 2019-01-16 00:01:58 -05:00
Travis Burtrum 3f4d3121b4 Delete ListQueryMapper 2019-01-15 23:48:27 -05:00
Travis Burtrum 3a562ad88a First step towards deleting ListQueryMapper, moving inList up to QueryMapper 2019-01-15 23:30:00 -05:00
Travis Burtrum 508b7cfc51 Fix travis-ci openjdk6 build, disable oraclejdk10 build 2019-01-11 01:12:04 -05:00
Travis Burtrum e7f191f54b Reuse variable 2019-01-10 23:09:17 -05:00
Travis Burtrum 243bf8c1ae Add @JdbcMapper.SkipSQLCheck annotation, and another method to skip SQL checking in SimpleSQLChecker 2018-10-25 21:54:43 -04:00
Travis Burtrum 20c5cb6f8d Add SpringRepository and SpringScope annotations for generating JdbcMapper implementations with spring annotations 2018-10-23 01:22:29 -04:00
Travis Burtrum 8698c2740d Fix NullListQueryMapper.java for java6 2018-10-11 01:01:19 -04:00
Travis Burtrum 7c053176d2 Add NullListQueryMapper.java 2018-10-11 00:58:57 -04:00
Travis Burtrum a378e640ae Fix ListQueryMapper 2018-10-11 00:33:52 -04:00
Travis Burtrum 1a161d7214 Refactor and make safe NullQueryMapper 2018-10-10 00:10:00 -04:00
Travis Burtrum a490154334 Fix QueryMapper toResultSet and insertGetGeneratedKeyType to use PreparedStatementFactory and become un-ambiguous 2018-10-09 22:53:49 -04:00
Travis Burtrum 278e99e894 Fix JdbcMapper blob/clob warning messages and mistaken fallthrough to CLOB case from BLOB 2018-10-09 00:23:22 -04:00
Travis Burtrum fad614f85a Partially implement PreparedStatement.getGeneratedKeys() returning long/Long in JdbcMapper 2018-09-26 00:30:11 -04:00
Travis Burtrum b04e9092d2 Get rid of SourceVersion warnings 2018-09-25 23:53:58 -04:00
Travis Burtrum 6988a438ba Re-enable and fix jdk6 travis tests 2018-09-25 23:35:44 -04:00
Travis Burtrum d63e719ce0 Add missing overrided toResultSet methods to List and Null QueryMappers 2018-09-25 20:42:53 -04:00
Travis Burtrum 7524893ed7 Add overloads for QueryMapper.insertGetGeneratedKeyType 2018-09-25 20:38:43 -04:00
Travis Burtrum d9a83a5edf Hopefully fix QueryMapper.insertGetGeneratedKey() for all databases finally 2018-09-25 20:23:48 -04:00
Travis Burtrum c80bc43243 Remove some incorrect QueryMapper.toResultSet overrides 2018-09-25 20:14:08 -04:00
Travis Burtrum 1003819064 Attempt to fix testGetGeneratedKeysSingleLong for oracle 2018-09-24 00:51:18 -04:00
Travis Burtrum 268b0500f1 Fix testGetGeneratedKeysSingleLong 2018-09-24 00:30:16 -04:00
Travis Burtrum 05d6c4c4be Disable jdk6 test until https issue can be resolved 2018-09-24 00:16:47 -04:00
Travis Burtrum 3d3ae891ad Rename auto_table from tests to avoid collisions 2018-09-24 00:16:17 -04:00
Travis Burtrum 04c3d429a0 Add testGetGeneratedKeysSingleLong tests 2018-09-24 00:04:50 -04:00
Travis Burtrum 10b1806b26 Add QueryMapper methods insertGetGeneratedKey and insertGetGeneratedKeyType 2018-09-21 00:35:20 -04:00
Travis Burtrum 185b4eb501 Fix jdk6 travis build, failed due to TLS 1.2 on maven central 2018-09-21 00:04:07 -04:00
Travis Burtrum 1e9bf0dc5a Alternate oracle-xe download in .travis.yml 2018-09-20 23:59:37 -04:00
Travis Burtrum 22fad7f487 Fix documentation markdown 2018-09-06 01:17:08 -04:00
Travis Burtrum 08b9348447 More documentation 2018-09-06 01:15:37 -04:00
Travis Burtrum 8e677aa92e Fix ResultSet leak in toStream 2018-09-06 01:15:20 -04:00