Package org.soulwing.jdbc.source
Class StringSQLSource
- java.lang.Object
-
- org.soulwing.jdbc.source.ReaderSQLSource
-
- org.soulwing.jdbc.source.StringSQLSource
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,SQLSource
public class StringSQLSource extends ReaderSQLSource
AnSQLSource
that reads SQL statements from a string.- Author:
- Carl Harris
-
-
Constructor Summary
Constructors Constructor Description StringSQLSource(String sql)
Constructs a new instance.StringSQLSource(String sql, Scanner scanner)
Constructs a new instance.
-