com.generationjava.jdbc
Class JdbcW

java.lang.Object
  |
  +--com.generationjava.jdbc.JdbcW

public final class JdbcW
extends java.lang.Object


Constructor Summary
JdbcW()
           
 
Method Summary
static java.lang.String formatWarnings(java.sql.SQLWarning warning)
           
static java.lang.Object getAutoIncrement(java.lang.String tablename, java.sql.Connection conn, java.lang.String pkey)
           
static java.util.Map getAutoIncrements(java.lang.String tablename, java.sql.Connection conn)
           
static java.lang.String[] getColumnNames(java.sql.ResultSet rs)
           
static int getColumnType(java.lang.String column, java.sql.Connection conn)
           
static java.lang.String[] getPrimaryKeys(java.lang.String tablename, java.sql.Connection conn)
           
static void printWarnings(java.sql.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 java.lang.String[] getColumnNames(java.sql.ResultSet rs)
                                         throws java.sql.SQLException
java.sql.SQLException

getColumnType

public static int getColumnType(java.lang.String column,
                                java.sql.Connection conn)
                         throws java.sql.SQLException
java.sql.SQLException

getPrimaryKeys

public static java.lang.String[] getPrimaryKeys(java.lang.String tablename,
                                                java.sql.Connection conn)
                                         throws java.sql.SQLException
java.sql.SQLException

getAutoIncrement

public static java.lang.Object getAutoIncrement(java.lang.String tablename,
                                                java.sql.Connection conn,
                                                java.lang.String pkey)
                                         throws java.sql.SQLException
java.sql.SQLException

getAutoIncrements

public static java.util.Map getAutoIncrements(java.lang.String tablename,
                                              java.sql.Connection conn)

printWarnings

public static void printWarnings(java.sql.SQLWarning warning)

formatWarnings

public static java.lang.String formatWarnings(java.sql.SQLWarning warning)


Copyright © 2000-2003 OSJava. All Rights Reserved.