|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.teiid.test.framework.connection.ConnectionStrategy
org.teiid.test.framework.connection.JEEConnection
public class JEEConnection
JEE (JNDI) Connection Strategy, when the test is run inside an application server. Make sure all the jndi names are set correctly in the properties file.
Field Summary | |
---|---|
static java.lang.String |
DS_JNDINAME
|
Constructor Summary | |
---|---|
JEEConnection(java.util.Properties props)
|
Method Summary | |
---|---|
java.sql.Connection |
getConnection()
Returns a connection |
void |
shutdown()
|
void |
validate()
|
Methods inherited from class org.teiid.test.framework.connection.ConnectionStrategy |
---|
createDataSourceConnection, createDriverConnection, getAdminConnection, getAutocommit, getEnvironment, getXAConnection, isDataStoreDisabled, setEnvironmentProperty, useProxy |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DS_JNDINAME
Constructor Detail |
---|
public JEEConnection(java.util.Properties props) throws QueryTestFailedException
QueryTestFailedException
Method Detail |
---|
public java.sql.Connection getConnection() throws QueryTestFailedException
ConnectionStrategy
getConnection
in class ConnectionStrategy
QueryTestFailedException
public void shutdown()
shutdown
in class ConnectionStrategy
public void validate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |