Commit Graph

58 Commits

Author SHA1 Message Date
a490154334 Fix QueryMapper toResultSet and insertGetGeneratedKeyType to use PreparedStatementFactory and become un-ambiguous 2018-10-09 22:53:49 -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
10b1806b26 Add QueryMapper methods insertGetGeneratedKey and insertGetGeneratedKeyType 2018-09-21 00:35:20 -04:00
ac4216709e Minor re-factoring 2018-09-04 01:42:35 -04:00
af0c0f3483 Implement OptimalInList.java which picks the optimal in list based on connection type 2018-05-23 23:41:19 -04:00
9c1efdc715 Optimize InListUtil.java 2018-05-23 00:50:12 -04:00
3f45785865 Fix not in ANY bind lists 2018-05-23 00:45:22 -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
17a429399c Fix non-generic array TypeReference for java 6 2018-05-11 01:02:52 -04:00
a0dfc278c3 Implement toArrayMap for toType 2018-05-10 23:27:32 -04:00
d3c4f89316 Add Collection<Map<String,T>> support to QueryMapper.toType and test for it 2018-05-09 23:42:44 -04:00
f68fd749e3 Call super(Connection) if it exists, tweak cannot find Constructor error message 2018-03-17 00:42:22 -04:00
50ebcc84cb Begin to refactor tests into single test module 2018-03-15 00:57:57 -04:00
5c3a88232e Handle binding of Enums correctly 2018-03-15 00:45:42 -04:00
a6c5fc7b52 Implement optional compile-time SQL checking with explain plan 2018-03-06 01:04:44 -05:00
1fa08bc74b Call com.moparisthebest.jdbc.Finishable.finish(ResultSet) in more cases as appropriate 2018-01-15 14:46:13 -05:00
52dec09346 isSetter now recognizes Builder pattern, where this is returned instead of void 2018-01-15 13:24:53 -05:00
6ba284e8c2 Setter methods now just have to start with 'set' not 'set[A-Z_]' 2018-01-15 12:54:59 -05:00
2580de8f42 Fix rest of Enum issues 2018-01-15 11:56:06 -05:00
9261ee216a Fix mapping null enums, add tests 2018-01-12 16:46:22 -05: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
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
09c114e106 Tweak QueryMapper 2017-06-30 23:37:36 -04:00
f44183b520 Add java.time binding to preparedstatement in QueryMapper 2017-06-30 23:18:51 -04:00
195a0c0484 Add TypeReference and toType method to querymapper 2017-06-29 00:00:46 -04:00
df2ccda9fa Add constructor calling for jdbcmapper and discover bug in javac 1.8 with -parameters option 2017-06-19 22:37:44 -04:00
d2df6dabaf Add constructor calling for querymapper in java8+ only for now 2017-06-19 21:08:22 -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
f9ac10c70f Fix multiple artifact builds 2017-06-13 23:55:57 -04:00
fe2a6eec22 Support for java.time api classes 2017-06-13 22:56:00 -04:00
6fe563f25a Re-factor TypeMappingsFactory with proper support for Enums 2017-06-13 21:42:32 -04:00
280e11b713 Implement toStream() in querymapper 2017-06-12 22:57:43 -04:00
099d88c26d Enable java 8 lambda for ResultSetIterable when compiling for 8+ 2017-06-12 19:24:04 -04:00