Commit Graph

256 Commits

Author SHA1 Message Date
Travis Burtrum 9ad437b697 Can never cache PreparedStatement with bind in lists 2018-05-22 00:54:33 -04:00
Travis Burtrum bc2250d9f4 travis-ci fix java7, h2 does not support ANY 2018-05-22 00:49:32 -04:00
Travis Burtrum 961f3979d2 Rework test/pom.xml and .travis.yml to better support seperate DatabaseType testing 2018-05-22 00:36:10 -04:00
Travis Burtrum b609747b50 Fix java6 compilation 2018-05-22 00:26:09 -04:00
Travis Burtrum 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
Travis Burtrum d89078ad89 Rename JdbcMapper.DatabaseType.STANDARD to ANY 2018-05-22 00:11:54 -04:00
Travis Burtrum 5522014f8e Implement JdbcMapper.DatabaseType.BIND support 2018-05-22 00:08:14 -04:00
Travis Burtrum 2f8f293ed2 Refactor BindInList, split out to InListUtil, add unit tests 2018-05-21 01:05:53 -04:00
Travis Burtrum ad7dc13dab Fix QueryMapperTypeQmDao.java java6 compilation 2018-05-20 12:57:45 -04:00
Travis Burtrum 4874968824 Add annother inlist test where an array is re-used, fix hsqldb string type 2018-05-20 12:51:37 -04:00
Travis Burtrum 6e56622ce0 Tweak in list tests 2018-05-20 11:27:23 -04:00
Travis Burtrum 23c87a25c7 Finish implementing oracle travis-ci testing 2018-05-20 01:40:31 -04:00
Travis Burtrum 7dab1bcc8c Run seperate oracle/hsqldb tests for java6 too 2018-05-19 01:11:19 -04:00
Travis Burtrum 6a0ad970f7 Oracle needs special settings for artifacts 2018-05-19 00:33:51 -04:00
Travis Burtrum c899d07a71 Profiles to test oracle and hsql special DatabaseTypes 2018-05-19 00:32:25 -04:00
Travis Burtrum 5057a282bd Move test deps and versions to test module 2018-05-18 23:47:28 -04:00
Travis Burtrum bcbcab5de1 add oracle tests 2018-05-17 01:47:42 -04:00
Travis Burtrum 4bb9b33604 Skip mssql test for jdk6 2018-05-17 00:43:49 -04:00
Travis Burtrum 20c933b1c9 Fix postgresql test 2018-05-16 23:52:21 -04:00
Travis Burtrum 62cf37dd27 Add mssql tests 2018-05-16 01:34:36 -04:00
Travis Burtrum 7cc5af55fb Implement UnNestArrayInList for hsqldb 2018-05-15 23:32:00 -04:00
Travis Burtrum 30599a15fd Add mariadb and postgresql tests 2018-05-15 22:41:02 -04:00
Travis Burtrum 1d6f71918c Add sqlite to tests 2018-05-15 21:56:43 -04:00
Travis Burtrum 2db37683d6 Test ArrayInList support in JdbcMapper and QueryMapper where supported 2018-05-15 08:10:52 -04:00
Travis Burtrum 12f13121ee Downgrade hsqldb for java 1.6 2018-05-15 07:36:08 -04:00
Travis Burtrum 292cce2533 Manually load drivers pre-java8 2018-05-15 07:24:57 -04:00
Travis Burtrum ca4c827788 Add support for testing against multiple database backends 2018-05-15 07:03:55 -04:00
Travis Burtrum 319e4f7765 Add caching to .travis.yml 2018-05-15 06:50:50 -04:00
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 17a429399c Fix non-generic array TypeReference for java 6 2018-05-11 01:02:52 -04:00
Travis Burtrum 3fb9559ba7 Fix generated code causing warnings 2018-05-11 00:14:58 -04:00
Travis Burtrum 564df7b022 Fix some warnings 2018-05-10 23:57:15 -04:00
Travis Burtrum 2650b60f47 Remove now useless extra toType tests now that we test everything with toType 2018-05-10 23:41:17 -04:00
Travis Burtrum a0dfc278c3 Implement toArrayMap for toType 2018-05-10 23:27:32 -04:00
Travis Burtrum e2c1f9a12d Fix QueryMapperTypeQmDao for java6 2018-05-10 17:08:29 -04:00
Travis Burtrum 2d36126c00 Run all tests with new QueryMapper.toType function 2018-05-10 16:37:05 -04:00
Travis Burtrum d80d3dee93 Add tests that do not use constructors 2018-05-10 16:01:57 -04:00
Travis Burtrum d3c4f89316 Add Collection<Map<String,T>> support to QueryMapper.toType and test for it 2018-05-09 23:42:44 -04:00
Travis Burtrum c151f3ba0e Finish porting tests 2018-05-09 23:20:40 -04:00
Travis Burtrum c04a9ee842 Fix generic array creation error in JdbcMapper, add test 2018-05-08 00:09:56 -04:00
Travis Burtrum 1c561181ff Finish porting tests 2018-05-07 23:49:56 -04:00
Travis Burtrum 9f00f4924f Fix for java6 2018-05-07 23:10:20 -04:00
Travis Burtrum 05ac1d3f84 Test porting continues 2018-05-04 00:26:04 -04:00
Travis Burtrum f9af32dba2 Port more tests to JdbcMapper 2018-04-24 00:04:53 -04:00
Travis Burtrum b9f963ca5f Fix partial test refactor with java 6 2018-04-21 01:45:45 -04:00
Travis Burtrum 670e14d57e Refactor QueryMapper tests to run against JdbcMapper too, partially done 2018-04-21 01:27:45 -04:00
Travis Burtrum 3af0d94e82 Add jdk 10 and 11 to .travis.yml 2018-04-19 01:08:01 -04:00
Travis Burtrum 49296f1f2a Improve QueryRunner 50% failure rate test 2018-04-18 00:18:19 -04:00
Travis Burtrum 64e500ca2a Add JdbcMapper cleaner test 2018-04-18 00:16:16 -04:00