All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ebeaninternal.api.SpiCancelableQuery Maven / Gradle / Ivy

There is a newer version: 15.8.0
Show newest version
package io.ebeaninternal.api;

import jakarta.persistence.PersistenceException;

import io.ebean.CancelableQuery;

/**
 * Cancellable query, that has a delegate.
 *
 * @author Roland Praml, FOCONIS AG
 *
 */
public interface SpiCancelableQuery extends CancelableQuery {

  /**
   * Checks if the query was cancelled.
   * @throws PersistenceException if query was cancelled.
   */
  void checkCancelled();

  /**
   * Set the underlying cancelable query (with the PreparedStatement).
   */
  void setCancelableQuery(CancelableQuery cancelableQuery);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy