Skip to content

Commit

Permalink
HHH-7711 Generate ddl to file even if scriptToConsole and
Browse files Browse the repository at this point in the history
exportToDatabase are
set to false
  • Loading branch information
Dmitry Geraskov authored and brmeyer committed Oct 23, 2012
1 parent 1a00abc commit e7e28dd
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -335,7 +335,7 @@ else if ( justCreate ) {
}

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();
Expand Down

0 comments on commit e7e28dd

Please sign in to comment.