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