Skip to content

Commit cb8ddd7

Browse files
committed
intruced new test for oracle join syntax
1 parent cd6866c commit cb8ddd7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1397,6 +1397,10 @@ public void testOracleJoin4() throws JSQLParserException {
13971397
String stmt = "SELECT * FROM tabelle1, tabelle2 WHERE tabelle1.a(+) = tabelle2.b AND tabelle1.b(+) IN ('A', 'B')";
13981398
assertSqlCanBeParsedAndDeparsed(stmt);
13991399
}
1400+
1401+
public void testOracleJoinIssue318() throws JSQLParserException {
1402+
assertSqlCanBeParsedAndDeparsed("SELECT * FROM TBL_A, TBL_B, TBL_C WHERE TBL_A.ID(+) = TBL_B.ID AND TBL_C.ROOM(+) = TBL_B.ROOM");
1403+
}
14001404

14011405
public void testProblemSqlIntersect() throws Exception {
14021406
String stmt = "(SELECT * FROM a) INTERSECT (SELECT * FROM b)";

0 commit comments

Comments
 (0)