Execute an SQL Script in JDBC
The SQL Script should have comments starting with – or — only on new lines and each command should end with a ; .
Reading a sql file and putting all of it in a string variable and feeding to the execute command would result in an exception. All instructions must be executed individually. A proper [...]