dods.servers.sql
Class JDBCTest
java.lang.Object
dods.servers.sql.JDBCTest
public class JDBCTest
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DDSFile
public static String DDSFile
ConstraintExpression
public static String ConstraintExpression
sqlQuery
public static String sqlQuery
iniFileName
public static String iniFileName
JDBCTest
public JDBCTest()
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
connect2DB
public static Statement connect2DB()
throws SQLException,
FileNotFoundException,
IOException
- Throws:
SQLException
FileNotFoundException
IOException
processResult
public static boolean processResult(ResultSet result)
throws SQLException,
IOException
- Throws:
SQLException
IOException
printColumnNames
public static void printColumnNames(ResultSetMetaData m)
throws SQLException
- Read the meta data stream and build up column names with type information
- Throws:
SQLException
parse_options
public static boolean parse_options(String[] args)