Put back test jdbc driver for MariaDB ... need to look at changes in newer driver wrt forwardOnlyHintOnFindIterate

That is, forwardOnlyHintOnFindIterate is a hack to support poor MySql jdbc driver behavior but maybe we can remove this
hack in later versions of MariaDB at least
This commit is contained in:
Rob Bygrave committed 2022-04-27 23:13:28 +12:00
1 parent 45233e96ab
commit 1b24c888ee
2 files changed
+3 -1

No files matched your search

@@ -16,6 +16,8 @@ public class MariaDbPlatform extends BaseMySqlPlatform {
super();
this.platform = Platform.MARIADB;
this.sequenceBatchMode = false;
// for MariaDB probably turn off forwardOnlyHintOnFindIterate with later driver
// this.forwardOnlyHintOnFindIterate = false;
this.historySupport = new MariaDbHistorySupport();
this.dbIdentity.setSupportsSequence(true);
}