diff --git a/src/test/resources/spring/context-datasource.xml b/src/test/resources/spring/context-datasource.xml index 971a5b9..726cf5f 100644 --- a/src/test/resources/spring/context-datasource.xml +++ b/src/test/resources/spring/context-datasource.xml @@ -20,11 +20,20 @@ --> + + + + oracle + mariadb + + + + + p:databaseIdProvider-ref="databaseIdProvider"/> diff --git a/src/test/resources/sql/mapper/base/utility.xml b/src/test/resources/sql/mapper/base/utility.xml index c927282..7f335db 100644 --- a/src/test/resources/sql/mapper/base/utility.xml +++ b/src/test/resources/sql/mapper/base/utility.xml @@ -20,19 +20,14 @@ SELECT FOUND_ROWS() TOT_CNT - -DATE_FORMAT(CURRENT_TIMESTAMP, '%Y%m%d%H%i%s') - -DATE_FORMAT(CURRENT_DATE, '%Y%m%d') - - +DATE_FORMAT(CURRENT_TIMESTAMP, '%Y%m%d%H%i%s') +TO_CHAR(CURRENT_TIMESTAMP, 'YYYYMMDDHH24MISS') SELECTNOW FROM DUAL +DATE_FORMAT(CURRENT_DATE, '%Y%m%d') +TO_CHAR(CURRENT_DATE, 'YYYYMMDD') + SELECTTODAY FROM DUAL NVL(#{thisDay},)