Interface ISQLPolicy
- All Superinterfaces:
IBizPolicy
,IComponent
,IInitializable
,ISystemHandler
ISQLPolicy - Exposes basic functions to operate against SQL database
-
Method Summary
Methods inherited from interface com.webmethods.portal.system.IComponent
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
Methods inherited from interface com.webmethods.portal.system.init.IInitializable
init, shutdown
-
Method Details
-
executeQuery
ResultSet executeQuery(IContext context, String dsn, String query, Object[] params, Object[] macros) throws BizException Executes the specified sql query against the specified DSN.- Parameters:
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 null- Returns:
ResultSet
for the query- Throws:
BizException
-