Save This Page
Home » abbot-1.0.2 » example » [javadoc | source]
example
public class: basic [javadoc | source]
java.lang.Object
   example.basic
$Id: basic.java,v 1.1.1.1 2002/01/22 08:51:50 synmscott Exp $ This example tests the basic components of the JDBC driver, and shows how even the simplest of queries can be implemented. To use this example, you need a database to be in existence. This example will create a table called basic. Note: This will only work with post 7.0 drivers.
Field Summary
 Connection db     
 Statement st     
Constructor:
 public basic(String[] args) throws IOException, ClassNotFoundException, SQLException, FileNotFoundException 
Method from example.basic Summary:
cleanup,   doexample,   instructions,   main
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from example.basic Detail:
 public  void cleanup() 
    This drops the table (if it existed). No errors are reported.
 public  void doexample() throws SQLException 
    This performs the example
 public static  void instructions() 
    Display some instructions on how to run the example
 public static  void main(String[] args) 
    This little lot starts the test