DatabaseMetaData dbma = con.getMetaData(); 
dbma.getTabels(..);
//getTables函数形式如下:
public ResultSet getTables(String catalog,
                           String schemaPattern,
                           String tableNamePattern,
                           String[] types)
                    throws SQLException更详细的用法参考JDK API手册。