Commit Graph

40 Commits

Author SHA1 Message Date
Travis Burtrum 79625c08cd Fix java8+ diamond operator 2018-05-12 00:33:02 -04:00
Travis Burtrum c2204b4635 Re-work IN LIST support in JdbcMapper to re-use created arrays, and free them after use 2018-05-12 00:30:57 -04:00
Travis Burtrum f68fd749e3 Call super(Connection) if it exists, tweak cannot find Constructor error message 2018-03-17 00:42:22 -04:00
Travis Burtrum 50ebcc84cb Begin to refactor tests into single test module 2018-03-15 00:57:57 -04:00
Travis Burtrum 5c3a88232e Handle binding of Enums correctly 2018-03-15 00:45:42 -04:00
Travis Burtrum cb36e783ed Fix paramPattern regex 2018-03-14 02:30:03 -04:00
Travis Burtrum edd6fc6e65 Remove Blob and Clob annotations in favor of SQL bind syntax 2018-03-14 02:25:11 -04:00
Travis Burtrum ba7fb733b2 More enum support 2018-03-09 00:09:01 -05:00
Travis Burtrum a6c5fc7b52 Implement optional compile-time SQL checking with explain plan 2018-03-06 01:04:44 -05:00
Travis Burtrum c6bde5233d Should be java.io.StringReader 2017-12-06 01:08:25 -05:00
Travis Burtrum 2eb39703ec Add java6 support for @RunInTransaction 2017-11-30 22:52:38 -05:00
Travis Burtrum 72906cf3c5 Add @JdbcMapper.RunInTransaction and static support methods to QueryRunner 2017-11-29 23:51:27 -05:00
Travis Burtrum a22e8d6d58 Print proper errors with links to methods instead of throwing exceptions 2017-11-08 23:31:28 -05:00
Travis Burtrum f58e107ff5 Look at all implemented classes for methods+fields in JdbcMapperProcessor 2017-11-08 23:21:40 -05:00
Travis Burtrum d2353bd74b Add JdbcMapper.WarnOnUnusedParams annotation 2017-08-07 15:26:52 -04:00
Travis Burtrum 6f23696952 Allow to manually specify columnNames and isSelect for unparseable SQL queries in jdbcmapper 2017-08-04 13:55:05 -04:00
Travis Burtrum c1b8b2e705 Fix sql statement escaping 2017-08-03 09:46:34 -04:00
Travis Burtrum e246af935f Tweak JdbcMapperFactory, now used for QueryMapper and JdbcMapper generated classes 2017-07-03 03:05:53 -04:00
Travis Burtrum f30a09ee3f Add java.time binding to preparedstatement in jdbcmapper 2017-06-30 23:32:10 -04:00
Travis Burtrum 0011925d6a Support binding java.time.Instant to a PreparedStatement in jdbcmapper, handle multi-line strings, fix bind conversions if null 2017-06-29 14:59:49 -04:00
Travis Burtrum 46686e5b05 Allow JdbcMapper to use reflection for non-public fields optionally 2017-06-19 00:34:23 -04:00
Travis Burtrum 12ba416181 Preserve parameter level annotations in generated source 2017-06-11 20:25:53 -04:00
Travis Burtrum 881de93799 Add ResultSetIterable support to jdbcmapper 2017-06-09 00:36:41 -04:00
Travis Burtrum d80a9325d7 Nicer dynamic type support for JdbcMapper maxRows, fixed unlimited loop on MAX_VALUE 2017-06-08 01:27:56 -04:00
Travis Burtrum 4db87d4dc5 javax.sql is not java.sql oops 2017-06-08 00:23:59 -04:00
Travis Burtrum e28c1fef14 Add support for maxRows in the annotation and sent in dynamically 2017-06-08 00:09:00 -04:00
Travis Burtrum d0d362c58c Implement Cleaner interface support in JdbcMapper, relax Cleaner interface 2017-06-07 21:29:28 -04:00
Travis Burtrum 85e0d868fe Compile differently based on Calendar object existence 2017-06-07 20:30:58 -04:00
Travis Burtrum 8e125d8e68 Clean up random todos 2017-06-07 19:15:00 -04:00
Travis Burtrum 53a8c4032e Add missing import to generated JdbcMapper classes 2017-06-07 02:50:36 -04:00
Travis Burtrum 783b51b810 Migrate JdbcMapperProcessor away from using reflection and Class objects all together... 2017-06-07 02:43:46 -04:00
Travis Burtrum a1ad929cf4 Half measure to avoid using Class objects in CompileTimeResultSetMapper 2017-06-06 22:33:51 -04:00
Travis Burtrum f028853c15 Set in list type names in a smarter fashion 2017-06-02 01:59:17 -04:00
Travis Burtrum c1139447e4 In JdbcMapper, error out on unused parameters 2017-06-02 01:01:53 -04:00
Travis Burtrum f14b87203a If we can not properly infer PreparedStatement bind in JdbcMapper, error out saying so 2017-06-02 00:43:32 -04:00
Travis Burtrum 8d9a01766f Implement in lists for Oracle and standard SQL in JdbcMapper 2017-06-02 00:39:03 -04:00
Travis Burtrum 2162e35456 Add support for binding Blob, Clob, java.sql.Array to PreparedStatement in JdbcMapper 2017-05-29 18:26:11 -04:00
Travis Burtrum 2f19f2ad46 Remove requirement for @JdbcMapper.Mapper to implement JdbcMapper, logic around requiring close() method or not 2017-05-28 23:38:10 -04:00
Travis Burtrum 5960341297 Add presto-sqlparser module for alternative SQLParser implementation (requires java 8+) 2017-05-28 22:14:30 -04:00
Travis Burtrum 849a85f1be Split into modules 2017-05-28 18:01:00 -04:00