ManagedConnection mc = getConnection(-1);
try
{
Connection conn = (Connection)mc.getConnection();
RDBMSSchemaInfo schemaInfo = (RDBMSSchemaInfo)schemaHandler.getSchemaData(
conn, "tables", new Object[] {this.catalogName, this.schemaName});
if (schemaInfo != null)
{
Iterator tableIter = schemaInfo.getChildren().values().iterator();
while (tableIter.hasNext())
{
// Print out the table information
RDBMSTableInfo tableInfo = (RDBMSTableInfo)tableIter.next();
ps.println(tableInfo);