Commit Graph

59 Commits

Author SHA1 Message Date
73729f5622 Upgrade c3p0 in test module 2019-02-09 23:45:39 -05:00
46a37f6571 Implement snapshot tests for generated code 2019-02-09 23:37:17 -05:00
89966a616d Make configurable system property JdbcMapper.beanSuffix 2019-02-09 00:38:08 -05:00
267e438ac0 Remove JdbcMapper.WarnOnUnusedParams param in favor of prefixing unused params with _ 2019-02-09 00:16:21 -05:00
664c00a5b2 Implement JdbcMapper.sqlBuilder() method 2019-02-09 00:06:13 -05:00
26617e0781 Move InList and PreparedStatementUtil up to common, add support for custom sql/runtime bind in JdbcMapper 2019-02-07 01:09:15 -05:00
5e7bf3e0e2 Fix getGeneratedKey test 2019-02-05 23:11:45 -05:00
f24ba9ba0b Fix bug with generated SQL for getGeneratedKey, add unit test for it 2019-02-04 23:23:37 -05:00
3f4d3121b4 Delete ListQueryMapper 2019-01-15 23:48:27 -05:00
3a562ad88a First step towards deleting ListQueryMapper, moving inList up to QueryMapper 2019-01-15 23:30:00 -05:00
fad614f85a Partially implement PreparedStatement.getGeneratedKeys() returning long/Long in JdbcMapper 2018-09-26 00:30:11 -04:00
6988a438ba Re-enable and fix jdk6 travis tests 2018-09-25 23:35:44 -04:00
1003819064 Attempt to fix testGetGeneratedKeysSingleLong for oracle 2018-09-24 00:51:18 -04:00
268b0500f1 Fix testGetGeneratedKeysSingleLong 2018-09-24 00:30:16 -04:00
3d3ae891ad Rename auto_table from tests to avoid collisions 2018-09-24 00:16:17 -04:00
04c3d429a0 Add testGetGeneratedKeysSingleLong tests 2018-09-24 00:04:50 -04:00
af0c0f3483 Implement OptimalInList.java which picks the optimal in list based on connection type 2018-05-23 23:41:19 -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
961f3979d2 Rework test/pom.xml and .travis.yml to better support seperate DatabaseType testing 2018-05-22 00:36:10 -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
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
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
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
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
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
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