From b704e3154efca3c00f3e3eaf55de39dc3d2a5cc5 Mon Sep 17 00:00:00 2001 From: Gavin Date: Tue, 20 Dec 2022 22:06:22 +0100 Subject: [PATCH] put stub PostgreSQL10Dialect back where it belongs --- .../dialect/PostgreSQL10Dialect.java | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL10Dialect.java diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL10Dialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL10Dialect.java new file mode 100644 index 0000000000..4970fe81f2 --- /dev/null +++ b/hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL10Dialect.java @@ -0,0 +1,22 @@ +/* + * 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 Postgres 10 and later. + * + * @deprecated use {@code PostgreSQLDialect(1000)} + */ +@Deprecated +public class PostgreSQL10Dialect extends PostgreSQLDialect { + + public PostgreSQL10Dialect() { + super( DatabaseVersion.make( 10 ) ); + } + +} +