HHH-15582 SpannerDialect, schema update tries to create existing tables

This commit is contained in:
Andrea Boriero 2022-10-06 11:50:55 +02:00 committed by Andrea Boriero
parent 0198e5b3c8
commit bf7a51cb84
1 changed files with 2 additions and 2 deletions

View File

@ -631,8 +631,8 @@ public class SpannerDialect extends Dialect {
@Override @Override
public SchemaNameResolver getSchemaNameResolver() { public SchemaNameResolver getSchemaNameResolver() {
throw new UnsupportedOperationException( // Spanner does not have a notion of database name schemas, so return "".
"No schema name resolver supported by " + getClass().getName() ); return (connection, dialect) -> "";
} }
@Override @Override