public class DatabaseMetaDataTest extends MetaDataTestCase
DatabaseMetaData.| Constructor and Description |
|---|
DatabaseMetaDataTest(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args) |
void |
testBooleanOptions()
Test meta data functions that return boolean values.
|
void |
testBug575()
Test for bug#575, parameter types aren't available via ParameterMetaData.
|
void |
testColumnClassName() |
void |
testColumnMetaData()
Test to check DatabaseMetaData.getColumns and ResultSetMetaData is equivalent.
|
void |
testDefaultValue()
Test for bug [1825743], default value not returned for column with
default value.
|
void |
testGetColumnsMetaData()
Test for bug [1120168] jTDS 101 - TDS data type 0 invalid.
|
void |
testGetTables()
Test for bug [998765] Exception with Sybase and metaData.getTables()
|
void |
testGetTableTypesOrder()
Test for bug [974036] Bug in 0.8rc1 DatabaseMetaData method getTableTypes()
|
void |
testIntOptions()
Test meta data function that return integer values.
|
void |
testProcedureColumns()
Test for bug [1184376] Sybase getProcedureColumns bug
|
void |
testProcedureUseLOBsFalse()
Test for bug [1245775] Column type inconsistency when useLOBs=false.
|
void |
testResultSetMetadate()
Test for bug [1833720], invalid table names for large result sets.
|
void |
testResultSets()
Test meta data functions that return result sets.
|
void |
testStringOptions()
Test meta data functions that return strings.
|
void |
testTableMetaData()
Test for bug [1023984] Protocol error processing table meta data.
|
checkColumnNamescompareBytes, getLongString, getLongString, getType, getTypemapcompareInputStreams, compareReaders, connect, dropDatabase, dropFunction, dropProcedure, dropTable, dropTrigger, dropType, dropView, dump, dump, dumpAll, dumpKeys, dumpRow, dumpRow, getConnection, getConnection, makeObjects, makeTestTables, setUp, tearDownpublic void testBug575()
throws java.lang.Exception
java.lang.Exceptionpublic void testBooleanOptions()
throws java.lang.Exception
java.lang.Exceptionpublic void testStringOptions()
throws java.lang.Exception
java.lang.Exceptionpublic void testIntOptions()
throws java.lang.Exception
java.lang.Exceptionpublic void testResultSets()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetTableTypesOrder()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetTables()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetColumnsMetaData()
throws java.lang.Exception
java.lang.Exceptionpublic void testTableMetaData()
throws java.lang.Exception
Test to demonstrate failure to process the TDS table name token correctly. Must be run with TDS=8.0.
java.lang.Exceptionpublic void testColumnClassName()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testColumnMetaData()
throws java.lang.Exception
java.lang.Exception - if an error condition occurspublic void testResultSetMetadate()
throws java.lang.Exception
java.lang.Exceptionpublic void testProcedureColumns()
throws java.lang.Exception
java.lang.Exceptionpublic void testProcedureUseLOBsFalse()
throws java.lang.Exception
java.lang.Exceptionpublic void testDefaultValue()
throws java.sql.SQLException
java.sql.SQLExceptionpublic static void main(java.lang.String[] args)
Generated on June 8 2013