question: public void testTableMetaData ( ) throws Exception { Statement stmt = con . createStatement ( ResultSet . TYPE_SCROLL_INSENSITIVE , ResultSet . CONCUR_READ_ONLY ) ; ResultSet rs = stmt . executeQuery ( "SELECT * FROM master.dbo.sysdatabases" ) ; assertNotNull ( rs ) ; ResultSetMetaData rsmd = rs . getMetaData ( ) ; Assert . assertEquals ( "master" , rsmd . getCatalogName ( 1 ) ) ; Assert . assertEquals ( "dbo" , rsmd . getSchemaName ( 1 ) ) ; Assert . assertEquals ( "sysdatabases" , rsmd . getTableName ( 1 ) ) ; stmt . close ( ) ; rs . close ( ) ; }
target:  Test for bug [1023984] Protocol error processing table meta data. <p> Test to demonstrate failure to process the TDS table name token correctly. Must be run with TDS=8.0.