HHH-10439 Log a message while executing the import script(s)
This commit is contained in:
parent
dc4c6a7f4c
commit
cfc4fc6d1f
|
@ -1729,4 +1729,9 @@ public interface CoreMessageLogger extends BasicLogger {
|
||||||
@LogMessage(level = INFO)
|
@LogMessage(level = INFO)
|
||||||
@Message(value = "Cannot locate column information using identifier [%s]; ignoring index [%s]", id = 475 )
|
@Message(value = "Cannot locate column information using identifier [%s]; ignoring index [%s]", id = 475 )
|
||||||
void logCannotLocateIndexColumnInformation(String columnIdentifierText, String indexIdentifierText);
|
void logCannotLocateIndexColumnInformation(String columnIdentifierText, String indexIdentifierText);
|
||||||
|
|
||||||
|
@LogMessage(level = INFO)
|
||||||
|
@Message(value = "Executing import script '%s'", id = 476)
|
||||||
|
void executingImportScript(String scriptName);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -433,6 +433,7 @@ public class SchemaExport {
|
||||||
perform( createSQL, exporters );
|
perform( createSQL, exporters );
|
||||||
if ( !importFileReaders.isEmpty() ) {
|
if ( !importFileReaders.isEmpty() ) {
|
||||||
for ( NamedReader namedReader : importFileReaders ) {
|
for ( NamedReader namedReader : importFileReaders ) {
|
||||||
|
LOG.executingImportScript( namedReader.getName() );
|
||||||
importScript( namedReader, exporters );
|
importScript( namedReader, exporters );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue