HHH-7711 Generate ddl to file even if scriptToConsole and

exportToDatabase are
set to false
This commit is contained in:
Dmitry Geraskov 2012-10-23 18:37:33 -04:00 committed by brmeyer
parent 1a00abc3a6
commit e7e28dd978
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ public class SchemaExport {
}
public void execute(Target output, Type type) {
if ( output == Target.NONE || type == SchemaExport.Type.NONE ) {
if ( (outputFile == null && output == Target.NONE) || type == SchemaExport.Type.NONE ) {
return;
}
exceptions.clear();