diff --git a/hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java b/hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java index 8825d8f733..fb5edc292b 100644 --- a/hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java +++ b/hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java @@ -1729,4 +1729,9 @@ public interface CoreMessageLogger extends BasicLogger { @LogMessage(level = INFO) @Message(value = "Cannot locate column information using identifier [%s]; ignoring index [%s]", id = 475 ) void logCannotLocateIndexColumnInformation(String columnIdentifierText, String indexIdentifierText); + + @LogMessage(level = INFO) + @Message(value = "Executing import script '%s'", id = 476) + void executingImportScript(String scriptName); + } diff --git a/hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/SchemaExport.java b/hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/SchemaExport.java index afaebd7972..8ea6a7e2a2 100644 --- a/hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/SchemaExport.java +++ b/hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/SchemaExport.java @@ -433,6 +433,7 @@ public class SchemaExport { perform( createSQL, exporters ); if ( !importFileReaders.isEmpty() ) { for ( NamedReader namedReader : importFileReaders ) { + LOG.executingImportScript( namedReader.getName() ); importScript( namedReader, exporters ); } }