org.huihoo.jfox.datasource
Class Test

java.lang.Object
  |
  +--org.huihoo.jfox.datasource.Test

public class Test
extends java.lang.Object

Author:
Kelvin Wu

Constructor Summary
Test()
           
 
Method Summary
static void executeSQL(java.sql.Connection conn)
           
static javax.sql.DataSource getDataSource()
           
static void main(java.lang.String[] args)
           
static void testGenericUsage()
           
static void testJNDIUsage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Test

public Test()
Method Detail

main

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

testGenericUsage

public static void testGenericUsage()
                             throws java.lang.Exception

testJNDIUsage

public static void testJNDIUsage()
                          throws java.lang.Exception

getDataSource

public static javax.sql.DataSource getDataSource()
                                          throws java.lang.Exception

executeSQL

public static void executeSQL(java.sql.Connection conn)
                       throws java.lang.Exception