Skip to content

Commit e8a18cc

Browse files
committed
oracle colls started
1 parent 2e85a16 commit e8a18cc

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/main/javacc/net/sf/jsqlparser/parser/JSqlParserCC.jj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
options{
2424
IGNORE_CASE=true ;
2525
STATIC=false;
26-
DEBUG_PARSER=false;
26+
DEBUG_PARSER=true;
2727
DEBUG_LOOKAHEAD=false;
2828
DEBUG_TOKEN_MANAGER=false;
2929
// FORCE_LA_CHECK=true;

src/test/java/net/sf/jsqlparser/test/select/SelectTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1632,5 +1632,9 @@ public void testSelectJoin() throws JSQLParserException {
16321632
public void testSelectJoin2() throws JSQLParserException {
16331633
assertSqlCanBeParsedAndDeparsed("SELECT * FROM pg_constraint WHERE pg_attribute.attnum = ANY(pg_constraint.conkey)");
16341634
}
1635+
1636+
public void testSelectOracleColl() throws JSQLParserException {
1637+
assertSqlCanBeParsedAndDeparsed("SELECT * FROM the_table tt WHERE TT.COL1 = lines(idx).COL1");
1638+
}
16351639

16361640
}

0 commit comments

Comments
 (0)