Class SqlScriptReader
- Object
-
- SqlScriptReader
-
public class SqlScriptReader extends Object
Reads a multiline SQL file extracting each command separately. Skips empty lines, assumes comments start with "--" and are on their own line
-
-
Constructor Summary
Constructors Constructor Description SqlScriptReader(Reader reader)
-
-
-
Constructor Detail
-
SqlScriptReader
public SqlScriptReader(Reader reader)
-
-
Method Detail
-
hasNext
public boolean hasNext() throws IOException
- Throws:
IOException
-
next
public String next() throws IOException
- Throws:
IOException
-
dispose
public void dispose()
-
-