Since JDBC can't process scripts, I guess it depends on how your application is reading said script and sending it to the database via JDBC. It should be sending it as one complete string, not one string per line.

Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.