Commit Graph

73 Commits

Author SHA1 Message Date
c143004fc2 Implement {str:booleanParamName} for JdbcMapper to set booleans as Strings for crippled databases like Oracle 2020-06-17 01:36:10 -04:00
1e4a1c2371 Allow parens directly before and after FROM 2020-03-31 23:50:48 -04:00
3a51d6ee56 Fix breakage when encountering TYPE_USE annotations 2020-03-31 21:35:49 -04:00
aac0f30e8a Extend SimpleSQLParser to support more SQL, add tests 2020-03-31 21:26:37 -04:00
d6d77c9528 Update snapshots for @RunInTransaction void support 2019-07-21 00:42:23 -04:00
9e89131a5b Support @RunInTransaction for methods returning void 2019-07-21 00:35:09 -04:00
b62dc1912a Add SingletonCloseable.java and many tests for it 2019-07-20 22:01:09 -04:00
14d4b897ad Fix travis-ci build, re-enable Oracle tests 2019-07-15 10:49:58 -04:00
27f26e6ef4 SimpleSQLParser supports subqueries-as-columns now 2019-07-12 15:13:51 -04:00
1a37b1c4d1 Add OpenJDK 14 to travis-ci tests, disable oracle tests since maven.oracle.com is broken 2019-07-02 11:14:52 -04:00
1766a9af6d JdbcMapperProcessor considers anything implementing Bindable a shortcut for {sql:} 2019-03-10 23:40:16 -04:00
e47ec84325 Clean up SqlBuilder API 2019-03-10 22:02:10 -04:00
a535465a2a Update snapshots for last commit 2019-03-08 11:31:05 -05:00
39402c8613 Fix regression in QueryMapper.toResultSet() when ListQueryMapper was moved up, add tests for fix 2019-03-08 10:56:10 -05:00
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