org.apache.derbyTesting.functionTests.tests.jdbcapi
Class connectionJdbc20

java.lang.Object
  extended by org.apache.derbyTesting.functionTests.tests.jdbcapi.connectionJdbc20

public class connectionJdbc20
extends java.lang.Object

This Program Test getConnection()/getStatement().


Constructor Summary
connectionJdbc20()
           
 
Method Summary
private static void dumpExpectedSQLExceptions(java.sql.SQLException se)
           
private static void dumpSQLExceptions(java.sql.SQLException se)
           
(package private) static void get_using_ascii_stream(java.sql.ResultSet rs, int col_no)
           
(package private) static void get_using_binary_stream(java.sql.ResultSet rs, int col_no)
           
(package private) static void get_using_bytes(java.sql.ResultSet rs, int col_no)
           
(package private) static void get_using_object(java.sql.ResultSet rs, int col_no)
           
(package private) static void get_using_string(java.sql.ResultSet rs, int col_no)
           
private static void load_data(java.sql.Connection conn)
           
static void main(java.lang.String[] args)
           
private static int printbytearray(byte[] a, int len, int count)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

connectionJdbc20

public connectionJdbc20()
Method Detail

main

public static void main(java.lang.String[] args)

load_data

private static void load_data(java.sql.Connection conn)
                       throws java.lang.Exception
Throws:
java.lang.Exception

dumpSQLExceptions

private static void dumpSQLExceptions(java.sql.SQLException se)

dumpExpectedSQLExceptions

private static void dumpExpectedSQLExceptions(java.sql.SQLException se)

printbytearray

private static int printbytearray(byte[] a,
                                  int len,
                                  int count)

get_using_object

static void get_using_object(java.sql.ResultSet rs,
                             int col_no)
                      throws java.lang.Exception
Throws:
java.lang.Exception

get_using_bytes

static void get_using_bytes(java.sql.ResultSet rs,
                            int col_no)
                     throws java.lang.Exception
Throws:
java.lang.Exception

get_using_string

static void get_using_string(java.sql.ResultSet rs,
                             int col_no)
                      throws java.lang.Exception
Throws:
java.lang.Exception

get_using_ascii_stream

static void get_using_ascii_stream(java.sql.ResultSet rs,
                                   int col_no)
                            throws java.lang.Exception
Throws:
java.lang.Exception

get_using_binary_stream

static void get_using_binary_stream(java.sql.ResultSet rs,
                                    int col_no)
                             throws java.lang.Exception
Throws:
java.lang.Exception

Built on Sat 2009-11-28 18:44:18-0800, from revision 885187

Apache Derby V10.6 Internals - Copyright © 2004,2008 The Apache Software Foundation. All Rights Reserved.