diff --git a/gradle/libraries.gradle b/gradle/libraries.gradle index d0c2510fbc..0d1839fb8a 100644 --- a/gradle/libraries.gradle +++ b/gradle/libraries.gradle @@ -9,12 +9,12 @@ // use. In that respect it serves a role similar to in Maven ext { - junitVersion = '4.13' + junitVersion = '4.13.2' junitVintageVersion = '5.7.1' junit5Version = '5.7.1' h2Version = '1.4.200' - bytemanVersion = '4.0.13' //Compatible with JDK16 + bytemanVersion = '4.0.16' //Compatible with JDK16 jnpVersion = '5.0.6.CR1' hibernateCommonsVersion = '5.1.2.Final' diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/MariaDB106Dialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/MariaDB106Dialect.java new file mode 100644 index 0000000000..56fc6f0039 --- /dev/null +++ b/hibernate-core/src/main/java/org/hibernate/dialect/MariaDB106Dialect.java @@ -0,0 +1,27 @@ +/* + * Hibernate, Relational Persistence for Idiomatic Java + * + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or . + */ +package org.hibernate.dialect; + +/** + * An SQL dialect for MariaDB 10.6 and later, provides skip locked support. + * + * @author Christian Beikov + * + * @deprecated use {@code MariaDBDialect(1060)} + */ +@Deprecated +public class MariaDB106Dialect extends MariaDB103Dialect { + + public MariaDB106Dialect() { + super(); + } + + @Override + public boolean supportsSkipLocked() { + return true; + } +}