public abstract class ConnectionStrategy extends Object
Constructor and Description |
---|
ConnectionStrategy(Properties props) |
Modifier and Type | Method and Description |
---|---|
XAConnection |
createDataSourceConnection(String identifier) |
Connection |
createDriverConnection(String identifier) |
Connection |
getAdminConnection() |
boolean |
getAutocommit() |
abstract Connection |
getConnection()
Returns a connection
|
Properties |
getEnvironment() |
XAConnection |
getXAConnection() |
boolean |
isDataStoreDisabled()
In certain testcases, the data that being provided is already
preconfigured and should not be touched by the
DataStore
processing. |
void |
setEnvironmentProperty(String key,
String value) |
void |
shutdown() |
boolean |
useProxy() |
public ConnectionStrategy(Properties props)
public abstract Connection getConnection() throws QueryTestFailedException
QueryTestFailedException
public boolean useProxy()
public void shutdown()
public Connection getAdminConnection() throws QueryTestFailedException
QueryTestFailedException
public boolean getAutocommit()
public XAConnection getXAConnection() throws QueryTestFailedException
QueryTestFailedException
public boolean isDataStoreDisabled()
DataStore
processing.public Properties getEnvironment()
public Connection createDriverConnection(String identifier) throws QueryTestFailedException
QueryTestFailedException
public XAConnection createDataSourceConnection(String identifier) throws QueryTestFailedException
QueryTestFailedException
Copyright © 2019. All rights reserved.