Creating db schema using hibernate "javax.persistence.schema-generation.create-source" : "script" property required unformatted script otherwise it throws exception.
The example script
I set script properties programaticaly:
It works when each SQL script is in single line, which means that the problem is with new lines
DB: postgres sql 11.4