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

io.ebean.delegate.DelegateOrmQuery Maven / Gradle / Ivy

package io.ebean.delegate;

import io.ebean.EbeanServer;
import io.ebean.ExpressionFactory;
import io.ebean.Query;
import io.ebeaninternal.server.deploy.BeanDescriptor;
import io.ebeaninternal.server.querydefn.DefaultOrmQuery;

/**
 */
public class DelegateOrmQuery extends DefaultOrmQuery {

  public static  DelegateOrmQuery copy(Query source, EbeanServer delegateServer) {

    return copy((DefaultOrmQuery)source, delegateServer);
  }

  public static  DelegateOrmQuery copy(DefaultOrmQuery source, EbeanServer delegateServer) {

    return new DelegateOrmQuery<>(source.getBeanDescriptor(), delegateServer, source.getExpressionFactory());
  }

  public DelegateOrmQuery(BeanDescriptor beanType, EbeanServer server, ExpressionFactory expressionFactory) {
    super(beanType, server, expressionFactory);
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy