Skip to content

Commit 6141168

Browse files
MoadElfatihibeikov
authored andcommitted
HHH-18638 remove support for old crockroachDB dialect older than 23.1
1 parent e0fc2bb commit 6141168

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hibernate-core/src/main/java/org/hibernate/dialect/CockroachDialect.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
import static org.hibernate.type.descriptor.DateTimeUtils.appendAsTimestampWithMillis;
123123

124124
/**
125-
* A {@linkplain Dialect SQL dialect} for CockroachDB 21.1 and above.
125+
* A {@linkplain Dialect SQL dialect} for CockroachDB 23.1 and above.
126126
*
127127
* @author Gavin King
128128
*/
@@ -135,7 +135,7 @@ public class CockroachDialect extends Dialect {
135135
// Pre-compile and reuse pattern
136136
private static final Pattern CRDB_VERSION_PATTERN = Pattern.compile( "v[\\d]+(\\.[\\d]+)?(\\.[\\d]+)?" );
137137

138-
protected static final DatabaseVersion MINIMUM_VERSION = DatabaseVersion.make( 22, 2 );
138+
protected static final DatabaseVersion MINIMUM_VERSION = DatabaseVersion.make( 23, 1 );
139139

140140
protected final PostgreSQLDriverKind driverKind;
141141

0 commit comments

Comments
 (0)