diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java index df81723669..694fa05dae 100644 --- a/hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java @@ -128,7 +128,10 @@ import static org.hibernate.type.descriptor.DateTimeUtils.appendAsTimestampWithM import static org.hibernate.type.descriptor.DateTimeUtils.appendAsTimestampWithNanos; /** - * A {@linkplain Dialect SQL dialect} for DB2 for LUW (Linux, Unix, and Windows) version 10.5 and above. + * A {@linkplain Dialect SQL dialect} for Db2 for LUW (Linux, Unix, and Windows) version 10.5 and above. + *

+ * Please refer to the + * Db2 documentation. * * @author Gavin King * diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java index c95fcea4f9..5c8b4446ef 100644 --- a/hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java @@ -109,6 +109,10 @@ import static org.hibernate.type.descriptor.DateTimeUtils.appendAsTimestampWithN /** * A {@linkplain Dialect SQL dialect} for H2. + *

+ * Please refer to the + * H2 documentation. + * * * @author Thomas Mueller * @author Jürgen Kreitler diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/HANADialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/HANADialect.java index 1a17f47c44..d40fdadbf1 100644 --- a/hibernate-core/src/main/java/org/hibernate/dialect/HANADialect.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/HANADialect.java @@ -158,13 +158,13 @@ import static org.hibernate.type.descriptor.DateTimeUtils.appendAsTimestampWithM /** * An SQL dialect for the SAP HANA Platform and Cloud. - *

- * For more information on SAP HANA Cloud, refer to the + *

+ * Column tables are created by this dialect by default when using the auto-DDL feature. * * @author Andrew Clemons * @author Jonathan Bregler diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java index fc6305a52c..a23dea7604 100644 --- a/hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java @@ -122,7 +122,10 @@ import static org.hibernate.type.descriptor.DateTimeUtils.appendAsTimestampWithM import static org.hibernate.type.descriptor.DateTimeUtils.appendAsTimestampWithMillis; /** - * A {@linkplain Dialect SQL dialect} for MySQL 5.7 and above. + * A {@linkplain Dialect SQL dialect} for MySQL 8 and above. + *

+ * Please refer to the + * MySQL documentation. * * @author Gavin King */ @@ -1048,6 +1051,11 @@ public class MySQLDialect extends Dialect { return '`'; } + /** + * Here we interpret "catalog" as a MySQL database. + * + * @return {@code true} + */ @Override public boolean canCreateCatalog() { return true; @@ -1063,6 +1071,14 @@ public class MySQLDialect extends Dialect { return new String[] { "drop database " + catalogName }; } + /** + * MySQL does support the {@code create schema} command, but + * it's a synonym for {@code create database}. Hibernate has + * always treated a MySQL database as a + * {@linkplain #canCreateCatalog catalog}. + * + * @return {@code false} + */ @Override public boolean canCreateSchema() { return false; diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java index 0c147bd9b5..e94bc41125 100644 --- a/hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java @@ -149,7 +149,10 @@ import static org.hibernate.type.SqlTypes.VARCHAR; import static org.hibernate.type.descriptor.DateTimeUtils.appendAsTimestampWithNanos; /** - * A {@linkplain Dialect SQL dialect} for Oracle 11g Release 2 and above. + * A {@linkplain Dialect SQL dialect} for Oracle 19c and above. + *

+ * Please refer to the + * Oracle documentation. * * @author Steve Ebersole * @author Gavin King diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLDialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLDialect.java index 690fe89520..f4fde81282 100644 --- a/hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLDialect.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLDialect.java @@ -141,7 +141,10 @@ import static org.hibernate.type.descriptor.DateTimeUtils.appendAsTimestampWithM import static org.hibernate.type.descriptor.DateTimeUtils.appendAsTimestampWithMillis; /** - * A {@linkplain Dialect SQL dialect} for PostgreSQL 11 and above. + * A {@linkplain Dialect SQL dialect} for PostgreSQL 12 and above. + *

+ * Please refer to the + * PostgreSQL documentation. * * @author Gavin King */ diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/SQLServerDialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/SQLServerDialect.java index b9812f9ac3..babe486dfa 100644 --- a/hibernate-core/src/main/java/org/hibernate/dialect/SQLServerDialect.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/SQLServerDialect.java @@ -127,7 +127,10 @@ import static org.hibernate.type.descriptor.DateTimeUtils.appendAsTimestampWithM import static org.hibernate.type.descriptor.DateTimeUtils.appendAsTimestampWithMillis; /** - * A dialect for Microsoft SQL Server 2008 and above + * A dialect for Microsoft SQL Server 2012 and above. + *

+ * Please refer to the + * SQL Server documentation. * * @author Gavin King */