com.generationjava.jdbc
Class JdbcW

java.lang.Object
  extended bycom.generationjava.jdbc.JdbcW

public final class JdbcW
extends Object


Constructor Summary
JdbcW()
           
 
Method Summary
static String formatWarnings(SQLWarning warning)
           
static Object getAutoIncrement(String tablename, Connection conn, String pkey)
           
static Map getAutoIncrements(String tablename, Connection conn)
           
static String[] getColumnNames(ResultSet rs)
           
static int getColumnType(String column, Connection conn)
           
static String[] getPrimaryKeys(String tablename, Connection conn)
           
static void printWarnings(SQLWarning warning)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdbcW

public JdbcW()
Method Detail

getColumnNames

public static String[] getColumnNames(ResultSet rs)
                               throws SQLException
Throws:
SQLException

getColumnType

public static int getColumnType(String column,
                                Connection conn)
                         throws SQLException
Throws:
SQLException

getPrimaryKeys

public static String[] getPrimaryKeys(String tablename,
                                      Connection conn)
                               throws SQLException
Throws:
SQLException

getAutoIncrement

public static Object getAutoIncrement(String tablename,
                                      Connection conn,
                                      String pkey)
                               throws SQLException
Throws:
SQLException

getAutoIncrements

public static Map getAutoIncrements(String tablename,
                                    Connection conn)

printWarnings

public static void printWarnings(SQLWarning warning)

formatWarnings

public static String formatWarnings(SQLWarning warning)


Copyright © 2000-2005 OSJava. All Rights Reserved.