Interface ExecutableStatement

  • All Superinterfaces:
    ExecutableSearch

    public interface ExecutableStatement
    extends ExecutableSearch
    A statement that can be executed against a database to fetch results.
    • Method Detail

      • execute

        @Nonnull
        ResultSet execute​(@Nonnull
                          Connection connection)
                   throws SQLException
        Executes the statement and returns the results. This method MUST NOT close the given Connection.
        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