Theo Arril wrote:Hello,
I tried your solution but I got many errors.
First of all you must know that there's no direct way to execute an SQL script file directly through JDBC
You can't load a SQL file into one statement and excute it.
You will have to write your own (very little) parser to split the script in individual statements and execute them one by one.
Splitting in Statements is the biggest challenge here ; so here is my solution :
That's my solution, so try and tell me about it !!