public class GatewayContextConnectionProvider extends java.lang.Object implements ConnectionProvider<SRConnection>
Constructor and Description |
---|
GatewayContextConnectionProvider(GatewayContext context,
java.lang.String dataSource) |
Modifier and Type | Method and Description |
---|---|
SRConnection |
getConnection() |
protected QueryCache |
getQueryCache() |
java.lang.String |
prepareQuery(java.lang.String query)
Takes a query, quotes the columns according to the translator, and performs any other modifications necessary to
make it runnable.
|
public GatewayContextConnectionProvider(GatewayContext context, java.lang.String dataSource)
protected QueryCache getQueryCache()
public SRConnection getConnection() throws java.sql.SQLException
getConnection
in interface ConnectionProvider<SRConnection>
java.sql.SQLException
public java.lang.String prepareQuery(java.lang.String query)
ConnectionProvider
prepareQuery
in interface ConnectionProvider<SRConnection>