Commit Graph

238 Commits

Author SHA1 Message Date
c6bde5233d Should be java.io.StringReader 2017-12-06 01:08:25 -05:00
2eb39703ec Add java6 support for @RunInTransaction 2017-11-30 22:52:38 -05:00
72906cf3c5 Add @JdbcMapper.RunInTransaction and static support methods to QueryRunner 2017-11-29 23:51:27 -05:00
3675ae0f73 Fix compilation for 1.6 2017-11-10 00:26:55 -05:00
a22e8d6d58 Print proper errors with links to methods instead of throwing exceptions 2017-11-08 23:31:28 -05:00
f58e107ff5 Look at all implemented classes for methods+fields in JdbcMapperProcessor 2017-11-08 23:21:40 -05:00
b2c5235a81 Fix JdbcMapperTest 2017-10-23 00:38:39 -04:00
9829e98ae0 Add support for @SingleRow in JdbcMapper 2017-10-23 00:34:37 -04:00
d2353bd74b Add JdbcMapper.WarnOnUnusedParams annotation 2017-08-07 15:26:52 -04:00
6f23696952 Allow to manually specify columnNames and isSelect for unparseable SQL queries in jdbcmapper 2017-08-04 13:55:05 -04:00
c1b8b2e705 Fix sql statement escaping 2017-08-03 09:46:34 -04:00
6fef6f284f in JdbcMapper, return byte[] as ResultSet.getBytes() and not as an array of the columns 2017-07-12 22:34:51 -04: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
f24d4ed03e Add JdbcMapperFactory.connectionFactory() methods 2017-07-03 00:45:36 -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
f30a09ee3f Add java.time binding to preparedstatement in jdbcmapper 2017-06-30 23:32:10 -04:00
f44183b520 Add java.time binding to preparedstatement in QueryMapper 2017-06-30 23:18:51 -04:00
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
195a0c0484 Add TypeReference and toType method to querymapper 2017-06-29 00:00:46 -04:00
c1b8cfcf3b Use expected defaults for primitive types in jdbcmapper 2017-06-28 16:00:32 -04:00
8079ae6aa7 Forgot to run genPrestoPersonDAO.sh 2017-06-19 23:50:59 -04:00
220a26c334 Add support for returning ResultSet to jdbcmapper 2017-06-19 23:50:59 -04:00
dca6249667 Add first go at readme 2017-06-19 23:50:59 -04:00
f66c8429fb Fix case of functions in select statement in SimpleSQLParser 2017-06-19 23:50:59 -04:00
68c1c0482e Clarify jdk8 bug comment 2017-06-19 23:50:59 -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
9c22b36267 Implement Stream support in jdbcmapper 2017-06-12 23:48:54 -04:00
280e11b713 Implement toStream() in querymapper 2017-06-12 22:57:43 -04:00
c902da5126 Add support for java 8 while keeping java 6 compatible artifacts 2017-06-12 20:59:04 -04:00
099d88c26d Enable java 8 lambda for ResultSetIterable when compiling for 8+ 2017-06-12 19:24:04 -04:00
12ba416181 Preserve parameter level annotations in generated source 2017-06-11 20:25:53 -04:00
881de93799 Add ResultSetIterable support to jdbcmapper 2017-06-09 00:36:41 -04:00
d74c272e73 Add ResultSetIterable support to querymapper 2017-06-08 23:02:12 -04:00
d80a9325d7 Nicer dynamic type support for JdbcMapper maxRows, fixed unlimited loop on MAX_VALUE 2017-06-08 01:27:56 -04:00
4db87d4dc5 javax.sql is not java.sql oops 2017-06-08 00:23:59 -04:00
e28c1fef14 Add support for maxRows in the annotation and sent in dynamically 2017-06-08 00:09:00 -04:00
d0d362c58c Implement Cleaner interface support in JdbcMapper, relax Cleaner interface 2017-06-07 21:29:28 -04:00
85e0d868fe Compile differently based on Calendar object existence 2017-06-07 20:30:58 -04:00