Skip to content

Commit d5ad2db

Browse files
committed
improve justification in Javadoc
1 parent 18d486f commit d5ad2db

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1074,7 +1074,10 @@ public String[] getDropCatalogCommand(String catalogName) {
10741074
* MySQL does support the {@code create schema} command, but
10751075
* it's a synonym for {@code create database}. Hibernate has
10761076
* always treated a MySQL database as a
1077-
* {@linkplain #canCreateCatalog catalog}.
1077+
* {@linkplain #canCreateCatalog catalog}, which is consistent
1078+
* with how the JDBC driver itself views the situation, since
1079+
* {@link DatabaseMetaData#supportsSchemasInDataManipulation()}
1080+
* returns {@code false} on MySQL.
10781081
*
10791082
* @return {@code false}
10801083
*/

0 commit comments

Comments
 (0)