Mixed line endings in schema creation script

Description

Hi.

I have a program that exports the database schema creation script to a file using ExportSchema.

Under Windows the output contains a mix of end of lines. New lines inside a sentence use \n and the last line uses \r\n. For example:

From what I have seen, AbstractScriptTargetOutput uses line.separator, but Formatter derived classes BasicFormatterImpl and DDLFormatterImpl use hardcoded \n.

Environment

Windows.

Status

Assignee

Andrea Boriero

Reporter

Roberto Ferreras

Fix versions

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Minor
Configure