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

+1 -1
View File
@@ -190,7 +190,7 @@
<dependency> <dependency>
<groupId>org.mariadb.jdbc</groupId> <groupId>org.mariadb.jdbc</groupId>
<artifactId>mariadb-java-client</artifactId> <artifactId>mariadb-java-client</artifactId>
<version>3.0.4</version> <version>2.6.0</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
@@ -16,6 +16,8 @@ public class MariaDbPlatform extends BaseMySqlPlatform {
super(); super();
this.platform = Platform.MARIADB; this.platform = Platform.MARIADB;
this.sequenceBatchMode = false; this.sequenceBatchMode = false;
// for MariaDB probably turn off forwardOnlyHintOnFindIterate with later driver
// this.forwardOnlyHintOnFindIterate = false;
this.historySupport = new MariaDbHistorySupport(); this.historySupport = new MariaDbHistorySupport();
this.dbIdentity.setSupportsSequence(true); this.dbIdentity.setSupportsSequence(true);
} }