Interface ExecutableStatement
- All Superinterfaces:
ExecutableSearch
public interface ExecutableStatement extends ExecutableSearch
A statement that can be executed against a database to fetch results.
-
Method Summary
Modifier and Type Method Description ResultSet
execute(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
-