minor - added header on oracle script logged to avoid frequent errors on build

This commit is contained in:
Carlos Ruiz 2013-08-26 18:34:58 -05:00
parent 320da911df
commit f9e6dbbea5
1 changed files with 1 additions and 0 deletions

View File

@ -455,6 +455,7 @@ public abstract class Convert
File fileNameOr = File.createTempFile("migration_script_", "_oracle.sql"); File fileNameOr = File.createTempFile("migration_script_", "_oracle.sql");
tempFileOr = new FileOutputStream(fileNameOr, true); tempFileOr = new FileOutputStream(fileNameOr, true);
writerOr = new BufferedWriter(new OutputStreamWriter(tempFileOr, "UTF8")); writerOr = new BufferedWriter(new OutputStreamWriter(tempFileOr, "UTF8"));
writerOr.append("SET SQLBLANKLINES ON\nSET DEFINE OFF\n\n");
} }
writeLogMigrationScript(writerOr, oraStatement); writeLogMigrationScript(writerOr, oraStatement);
} catch (IOException e) { } catch (IOException e) {