Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.objectstyle.ashwood.dbutil
Class DbUtils  view DbUtils download DbUtils.java

java.lang.Object
  extended byorg.objectstyle.ashwood.dbutil.DbUtils

public class DbUtils
extends java.lang.Object


Constructor Summary
private DbUtils()
           
 
Method Summary
static org.objectstyle.ashwood.graph.Digraph buildReferentialDigraph(org.objectstyle.ashwood.graph.Digraph digraph, java.util.Collection tables)
           
static void getAllTables(java.lang.String catalog, java.lang.String schema, java.util.Collection tables, java.sql.DatabaseMetaData metaData)
           
static void refreshTables(java.util.Collection tables, java.sql.DatabaseMetaData metaData)
           
static void refreshTables(java.util.Collection tables, java.sql.DatabaseMetaData metaData, boolean columns, boolean primaryKeys, boolean foreignKeys)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbUtils

private DbUtils()
Method Detail

getAllTables

public static void getAllTables(java.lang.String catalog,
                                java.lang.String schema,
                                java.util.Collection tables,
                                java.sql.DatabaseMetaData metaData)
                         throws java.sql.SQLException

refreshTables

public static void refreshTables(java.util.Collection tables,
                                 java.sql.DatabaseMetaData metaData)
                          throws java.sql.SQLException

refreshTables

public static void refreshTables(java.util.Collection tables,
                                 java.sql.DatabaseMetaData metaData,
                                 boolean columns,
                                 boolean primaryKeys,
                                 boolean foreignKeys)
                          throws java.sql.SQLException

buildReferentialDigraph

public static org.objectstyle.ashwood.graph.Digraph buildReferentialDigraph(org.objectstyle.ashwood.graph.Digraph digraph,
                                                                            java.util.Collection tables)