Skip to content

Commit d79a043

Browse files
committed
ADD_MONTHS function does not exist in HSQLDB 2.2.9.
1 parent 82c85dc commit d79a043

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/apache/ibatis/submitted/nestedresulthandler_association/AccountRepository.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
t_account_address aa
4141
ON aa.account_uuid = a.account_uuid
4242
WHERE
43-
a.birth_date >= #{birthMonth} AND a.birth_date < ADD_MONTHS(#{birthMonth}, 1)
43+
a.birth_date >= #{birthMonth} AND a.birth_date < DATE_ADD(#{birthMonth}, INTERVAL 1 MONTH)
4444
ORDER BY
4545
a.account_uuid
4646
]]>

0 commit comments

Comments
 (0)