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

com.avaje.ebeaninternal.server.query.CallableQuery Maven / Gradle / Ivy

There is a newer version: 8.1.1
Show newest version
package com.avaje.ebeaninternal.server.query;

import com.avaje.ebean.Transaction;
import com.avaje.ebeaninternal.api.SpiEbeanServer;
import com.avaje.ebeaninternal.api.SpiQuery;

/**
 * Base object for making query execution into Callable's.
 *
 * @param  the entity bean type
 * @author rbygrave
 */
public abstract class CallableQuery {

  protected final SpiQuery query;

  protected final SpiEbeanServer server;

  protected final Transaction transaction;

  public CallableQuery(SpiEbeanServer server, SpiQuery query, Transaction t) {
    this.server = server;
    this.query = query;
    this.transaction = t;
  }

  public SpiQuery getQuery() {
    return query;
  }

  public Transaction getTransaction() {
    return transaction;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy