Commit Graph

215 Commits

Author SHA1 Message Date
f0f627a3b3 Finish documenting 'Column to Object Mapping' 2018-09-04 23:24:59 -04:00
db1de1c43f Slight re-factor of ResultSetUtil.java 2018-09-04 23:24:02 -04:00
b861d63115 Start at documentation 2018-09-04 01:42:56 -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
d0a912a83e In array list test, use highest interface or class available 2018-05-22 00:56:05 -04:00
9ad437b697 Can never cache PreparedStatement with bind in lists 2018-05-22 00:54:33 -04:00
bc2250d9f4 travis-ci fix java7, h2 does not support ANY 2018-05-22 00:49:32 -04:00
961f3979d2 Rework test/pom.xml and .travis.yml to better support seperate DatabaseType testing 2018-05-22 00:36:10 -04:00
b609747b50 Fix java6 compilation 2018-05-22 00:26:09 -04:00
3bb274fa83 travis-ci test databases supporting bind (all), any (h2 java8+, postgres), oracle, unnest (hsql) all seperately 2018-05-22 00:20:33 -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
ad7dc13dab Fix QueryMapperTypeQmDao.java java6 compilation 2018-05-20 12:57:45 -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
6e56622ce0 Tweak in list tests 2018-05-20 11:27:23 -04:00
23c87a25c7 Finish implementing oracle travis-ci testing 2018-05-20 01:40:31 -04:00
7dab1bcc8c Run seperate oracle/hsqldb tests for java6 too 2018-05-19 01:11:19 -04:00
6a0ad970f7 Oracle needs special settings for artifacts 2018-05-19 00:33:51 -04:00
c899d07a71 Profiles to test oracle and hsql special DatabaseTypes 2018-05-19 00:32:25 -04:00
5057a282bd Move test deps and versions to test module 2018-05-18 23:47:28 -04:00
bcbcab5de1 add oracle tests 2018-05-17 01:47:42 -04:00
4bb9b33604 Skip mssql test for jdk6 2018-05-17 00:43:49 -04:00
20c933b1c9 Fix postgresql test 2018-05-16 23:52:21 -04:00
62cf37dd27 Add mssql tests 2018-05-16 01:34:36 -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
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