Commit Graph

47 Commits

Author SHA1 Message Date
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
d74c272e73 Add ResultSetIterable support to querymapper 2017-06-08 23:02:12 -04:00
85e0d868fe Compile differently based on Calendar object existence 2017-06-07 20:30:58 -04:00
8e125d8e68 Clean up random todos 2017-06-07 19:15:00 -04:00
783b51b810 Migrate JdbcMapperProcessor away from using reflection and Class objects all together... 2017-06-07 02:43:46 -04:00
12fc0edbd4 Call .setClob for clob wrapped Strings in QueryMapper 2017-05-29 18:24:48 -04:00
5960341297 Add presto-sqlparser module for alternative SQLParser implementation (requires java 8+) 2017-05-28 22:14:30 -04:00
849a85f1be Split into modules 2017-05-28 18:01:00 -04:00
59cf4ff2cd Fork from beehive 2017-05-28 00:29:58 -04:00