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
public SchemaNameResolver getSchemaNameResolver() {
throw new UnsupportedOperationException(
"No schema name resolver supported by " + getClass().getName() );
// Spanner does not have a notion of database name schemas, so return "".
return (connection, dialect) -> "";
}
@Override