| java.lang.Object org.apache.derbyTesting.functionTests.tests.jdbcapi.metadata_test org.apache.derbyTesting.functionTests.tests.jdbcapi.metadata
metadata | public class metadata extends metadata_test (Code) | | Test of database meta-data. This program simply calls each of the meta-data
methods, one by one, and prints the results. The test passes if the printed
results match a previously stored "master". Thus this test cannot actually
discern whether it passes or not.
author: alan |
Constructor Summary | |
public | metadata() | public | metadata(String[] args) Constructor:
Just intializes the Connection and Statement fields
to be used through the test. |
Method Summary | |
protected void | dumpRS(int procId, ResultSet s) | protected ResultSet | getMetaDataRS(DatabaseMetaData dmd, int procId, String[] sArgs, String[] argArray, int[] iArgs, boolean[] bArgs) This method is responsible for executing a metadata query and returning
a result set that complies with the JDBC specification. | public static byte[] | getpc(String a, BigDecimal b, short c, byte d, short e, int f, long g, float h, double i, byte[] j, Date k, Time l, Timestamp T) | public static void | getpc(int a, long[] b) | public void | getpc(String a, String b) | public static void | getpc4a() | public static int | getpc4b() | public static void | isro() | public static void | main(String[] args) Makes a call to the "runTest" method in metadata_test.java,
which will in turn call back here for implementations of
the abstract methods. |
metadata | public metadata()(Code) | | |
metadata | public metadata(String[] args)(Code) | | Constructor:
Just intializes the Connection and Statement fields
to be used through the test.
|
getMetaDataRS | protected ResultSet getMetaDataRS(DatabaseMetaData dmd, int procId, String[] sArgs, String[] argArray, int[] iArgs, boolean[] bArgs) throws SQLException(Code) | | This method is responsible for executing a metadata query and returning
a result set that complies with the JDBC specification.
|
getpc | public static byte[] getpc(String a, BigDecimal b, short c, byte d, short e, int f, long g, float h, double i, byte[] j, Date k, Time l, Timestamp T)(Code) | | dummy method to test getProcedureColumns
|
getpc | public static void getpc(int a, long[] b)(Code) | | overload getpc to further test getProcedureColumns
|
getpc4a | public static void getpc4a()(Code) | | |
getpc4b | public static int getpc4b()(Code) | | |
main | public static void main(String[] args) throws Exception(Code) | | Makes a call to the "runTest" method in metadata_test.java,
which will in turn call back here for implementations of
the abstract methods.
|
|
|