Interface ExecutableStatement
- All Superinterfaces:
ExecutableSearch
A statement that can be executed against a database to fetch results.
-
Method Summary
Modifier and TypeMethodDescriptionexecute
(Connection connection) Executes the statement and returns the results.Methods inherited from interface net.shibboleth.idp.attribute.resolver.dc.ExecutableSearch
getResultCacheKey
-
Method Details
-
execute
Executes the statement and returns the results. This method MUST NOT close the givenConnection
.- Parameters:
connection
- ready-to-use connection to the database- Returns:
- the result of the executed statement
- Throws:
SQLException
- thrown if there is a problem executing the statement
-