org.jboss.test.cmp2.dbschema.util
Class AbstractDBSchemaTestCase

java.lang.Object
  extended byEJBTestCase
      extended byorg.jboss.test.cmp2.dbschema.util.AbstractDBSchemaTestCase
Direct Known Subclasses:
RelationshipSchemaUnitTestCase (src)

public class AbstractDBSchemaTestCase
extends EJBTestCase

See Also:
Serialized Form

Field Summary
protected  DataSource (src) datasource
           
protected  java.lang.String datasourceName
           
 
Constructor Summary
AbstractDBSchemaTestCase(java.lang.String s)
           
 
Method Summary
protected  java.sql.Connection getConnection()
           
protected  DataSource (src) getDataSource()
           
protected  DataSource (src) getDataSource(java.lang.String datasource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

datasourceName

protected java.lang.String datasourceName

datasource

protected DataSource (src)  datasource
Constructor Detail

AbstractDBSchemaTestCase

public AbstractDBSchemaTestCase(java.lang.String s)
Method Detail

getConnection

protected java.sql.Connection getConnection()
                                     throws javax.naming.NamingException,
                                            java.sql.SQLException
Throws:
javax.naming.NamingException
java.sql.SQLException

getDataSource

protected DataSource (src)  getDataSource()
                            throws javax.naming.NamingException
Throws:
javax.naming.NamingException

getDataSource

protected DataSource (src)  getDataSource(java.lang.String datasource)
                            throws javax.naming.NamingException
Throws:
javax.naming.NamingException