dods.servers.sql
Class JDBCTest

java.lang.Object
  extended bydods.servers.sql.JDBCTest

public class JDBCTest
extends java.lang.Object


Field Summary
static java.lang.String ConstraintExpression
           
static java.lang.String DDSFile
           
static java.lang.String iniFileName
           
static java.lang.String sqlQuery
           
 
Constructor Summary
JDBCTest()
           
 
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
 

Field Detail

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
Constructor Detail

JDBCTest

public JDBCTest()
Method Detail

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)