File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
src/test/java/net/sf/jsqlparser/statement/imprt Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -205,7 +205,12 @@ public void testImportFromDBMSORA(String sqlStr) throws JSQLParserException {
205
205
@ ParameterizedTest
206
206
@ ValueSource (strings = {
207
207
"IMPORT FROM JDBC AT connectionName TABLE tableName" ,
208
- "IMPORT FROM JDBC DRIVER = 'driverName' AT connectionName TABLE tableName"
208
+ "IMPORT FROM JDBC DRIVER = 'driverName' AT connectionName TABLE tableName" ,
209
+
210
+ "IMPORT FROM JDBC AT connectionName STATEMENT 'select 1'" ,
211
+ "IMPORT FROM JDBC AT connectionName STATEMENT 'select 1' STATEMENT 'select 2'" ,
212
+ "IMPORT FROM JDBC DRIVER = 'driverName' AT connectionName STATEMENT 'select 1'" ,
213
+ "IMPORT FROM JDBC DRIVER = 'driverName' AT connectionName STATEMENT 'select 1' STATEMENT 'select 2'"
209
214
})
210
215
public void testImportFromDBMSJDBC (String sqlStr ) throws JSQLParserException {
211
216
TestUtils .assertSqlCanBeParsedAndDeparsed (sqlStr );
You can’t perform that action at this time.
0 commit comments