Commit Graph

284 Commits

Author SHA1 Message Date
1d6f71918c Add sqlite to tests 2018-05-15 21:56:43 -04:00
2db37683d6 Test ArrayInList support in JdbcMapper and QueryMapper where supported 2018-05-15 08:10:52 -04:00
12f13121ee Downgrade hsqldb for java 1.6 2018-05-15 07:36:08 -04:00
292cce2533 Manually load drivers pre-java8 2018-05-15 07:24:57 -04:00
ca4c827788 Add support for testing against multiple database backends 2018-05-15 07:03:55 -04:00
319e4f7765 Add caching to .travis.yml 2018-05-15 06:50:50 -04:00
79625c08cd Fix java8+ diamond operator 2018-05-12 00:33:02 -04:00
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
17a429399c Fix non-generic array TypeReference for java 6 2018-05-11 01:02:52 -04:00
3fb9559ba7 Fix generated code causing warnings 2018-05-11 00:14:58 -04:00
564df7b022 Fix some warnings 2018-05-10 23:57:15 -04:00
2650b60f47 Remove now useless extra toType tests now that we test everything with toType 2018-05-10 23:41:17 -04:00
a0dfc278c3 Implement toArrayMap for toType 2018-05-10 23:27:32 -04:00
e2c1f9a12d Fix QueryMapperTypeQmDao for java6 2018-05-10 17:08:29 -04:00
2d36126c00 Run all tests with new QueryMapper.toType function 2018-05-10 16:37:05 -04:00
d80d3dee93 Add tests that do not use constructors 2018-05-10 16:01:57 -04:00
d3c4f89316 Add Collection<Map<String,T>> support to QueryMapper.toType and test for it 2018-05-09 23:42:44 -04:00
c151f3ba0e Finish porting tests 2018-05-09 23:20:40 -04:00
c04a9ee842 Fix generic array creation error in JdbcMapper, add test 2018-05-08 00:09:56 -04:00
1c561181ff Finish porting tests 2018-05-07 23:49:56 -04:00
9f00f4924f Fix for java6 2018-05-07 23:10:20 -04:00
05ac1d3f84 Test porting continues 2018-05-04 00:26:04 -04:00
f9af32dba2 Port more tests to JdbcMapper 2018-04-24 00:04:53 -04:00
b9f963ca5f Fix partial test refactor with java 6 2018-04-21 01:45:45 -04:00
670e14d57e Refactor QueryMapper tests to run against JdbcMapper too, partially done 2018-04-21 01:27:45 -04:00
3af0d94e82 Add jdk 10 and 11 to .travis.yml 2018-04-19 01:08:01 -04:00
49296f1f2a Improve QueryRunner 50% failure rate test 2018-04-18 00:18:19 -04:00
64e500ca2a Add JdbcMapper cleaner test 2018-04-18 00:16:16 -04:00
337abc8c6d Revert fields from public to protected in tests 2018-04-17 23:42:21 -04:00
2be8f073a4 Use correct variable name to work inside lambdas 2018-04-17 23:07:34 -04:00
c91f6efd9e Add .travis.yml 2018-03-23 00:54:00 -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
cb36e783ed Fix paramPattern regex 2018-03-14 02:30:03 -04:00
edd6fc6e65 Remove Blob and Clob annotations in favor of SQL bind syntax 2018-03-14 02:25:11 -04:00
ba7fb733b2 More enum support 2018-03-09 00:09:01 -05: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
4c8c848a1f Fix jdbcmapper enums when being compiled in same run as generated code 2018-01-15 14:12:41 -05:00
391fbc6b97 Forgot to genPrestoPersonDAO.sh as always 2018-01-15 13:35:09 -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
ebccf0a0e2 Forgot to generated Presto tests 2018-01-12 16:48:29 -05:00
9261ee216a Fix mapping null enums, add tests 2018-01-12 16:46:22 -05:00
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