Skip to content

Commit f8fde28

Browse files
committed
fix incorrect metadata call
1 parent fd95df3 commit f8fde28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hibernate-core/src/main/java/org/hibernate/engine/jdbc/connections/internal/DatabaseConnectionInfoImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public DatabaseConnectionInfoImpl(Dialect dialect) {
120120

121121
public static boolean hasSchema(Connection connection) {
122122
try {
123-
return connection.getMetaData().supportsSchemasInTableDefinitions();
123+
return connection.getMetaData().supportsSchemasInDataManipulation();
124124
}
125125
catch ( SQLException ignored ) {
126126
return true;

0 commit comments

Comments
 (0)