com.generationjava.jdbc
Class JdbcW
java.lang.Object
com.generationjava.jdbc.JdbcW
- public final class JdbcW
- extends Object
|
Constructor Summary |
JdbcW()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdbcW
public JdbcW()
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.