public interface ISQLPolicy extends IBizPolicy
Modifier and Type | Method and Description |
---|---|
ResultSet |
executeQuery(IContext context,
String dsn,
String query,
Object[] params,
Object[] macros)
Executes the specified sql query against the specified DSN.
|
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
init, shutdown
ResultSet executeQuery(IContext context, String dsn, String query, Object[] params, Object[] macros) throws BizException
context
- Context state information (current user, etc.).dsn
- DSN against which to execute the queryquery
- the SQL query to executeparams
- is an Object array of input parameters for query. May be nullmacros
- is an Object array of macros to be used to format original query text. May be nullResultSet
for the queryBizException