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 ce573c8856
commit eaa18d286b

View File

@ -335,7 +335,7 @@ else if ( justCreate ) {
} }
public void execute(Target output, Type type) { 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; return;
} }
exceptions.clear(); exceptions.clear();