1919import static org .junit .Assert .assertNull ;
2020import static org .junit .Assert .assertTrue ;
2121import static org .junit .Assert .fail ;
22+ import org .junit .Ignore ;
2223import org .junit .Test ;
2324
2425public class SelectTest {
@@ -106,6 +107,7 @@ public void testMultiPartColumnNameWithDatabaseNameAndSchemaNameAndTableName() t
106107 }
107108
108109 @ Test
110+ @ Ignore
109111 public void testMultiPartColumnNameWithDatabaseNameAndSchemaName () {
110112 final String statement = "SELECT databaseName.schemaName..columnName FROM tableName" ;
111113 Select select ;
@@ -127,6 +129,7 @@ public void testMultiPartColumnNameWithDatabaseNameAndTableName() throws Excepti
127129 }
128130
129131 @ Test
132+ @ Ignore
130133 public void testMultiPartColumnNameWithDatabaseName () {
131134 final String statement = "SELECT databaseName...columnName FROM tableName" ;
132135 Select select ;
@@ -148,6 +151,7 @@ public void testMultiPartColumnNameWithSchemaNameAndTableName() throws Exception
148151 }
149152
150153 @ Test
154+ @ Ignore
151155 public void testMultiPartColumnNameWithSchemaName () {
152156 final String statement = "SELECT schemaName..columnName FROM tableName" ;
153157 Select select ;
@@ -3192,4 +3196,24 @@ public void testMultiPartNames2() throws JSQLParserException {
31923196 public void testMultiPartNames3 () throws JSQLParserException {
31933197 assertSqlCanBeParsedAndDeparsed ("SELECT a.*" );
31943198 }
3199+
3200+ @ Test
3201+ public void testMultiPartNames4 () throws JSQLParserException {
3202+ assertSqlCanBeParsedAndDeparsed ("SELECT a.b.c.d.e.f.g.h" );
3203+ }
3204+
3205+ @ Test
3206+ public void testMultiPartNames5 () throws JSQLParserException {
3207+ assertSqlCanBeParsedAndDeparsed ("SELECT * FROM a.b.c.d.e.f.g.h" );
3208+ }
3209+
3210+ @ Test
3211+ public void testMultiPartNamesIssue163 () throws JSQLParserException {
3212+ assertSqlCanBeParsedAndDeparsed ("SELECT mymodel.name FROM com.myproject.MyModelClass AS mymodel" );
3213+ }
3214+
3215+ @ Test
3216+ public void testMultiPartNamesIssue608 () throws JSQLParserException {
3217+ assertSqlCanBeParsedAndDeparsed ("SELECT @@session.tx_read_only" );
3218+ }
31953219}
0 commit comments