Hey all,
I have had one post here related with this software so I just want You to know that the problem is not same as there.
First of all what id does, it read all .sql files from specific folder and save them to JList. After that I have 2 buttons.
One is "Manual execution" that execute only selected script. Second is "Automatic execution" that should read one by one script and execute until or if find any error.
Also it is removing executed file from JList.
Now, the "Manual execution" works great and everything is working perfectly.
But "Automatic execution" give me error:
I think that code break at this part
But I am not really sure why, as in "buf.toString()" SQL command is readed perfectly.
This is my code:
(I am sorry for posting long code)