org.apache.avalon.examples.jdbcdatasource
Class Main

java.lang.Object
  extended byorg.apache.avalon.examples.jdbcdatasource.Main

public class Main
extends java.lang.Object

This example application creates a conmponent which makes use of a JdbcDataSource to connect to a Hypersonic SQL database. It then adds a row to a table that it creates displaying a list of all the rows in the table. Note, this code ignores exceptions to keep the code simple.

Since:
4.1
Version:
CVS $Revision: 1.4 $ $Date: 2004/02/28 11:47:28 $
Author:
Avalon Development Team

Method Summary
static void main(java.lang.String[] args)
          All of the guts of this example exist in the main method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
All of the guts of this example exist in the main method.

Parameters:
args - The command line arguments
Throws:
java.lang.Exception - if there is any problem running this example


Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.