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

com.github.aqiu202.starters.jpa.query.dsl.JPAQueryExecutor Maven / Gradle / Ivy

There is a newer version: 1.2.1
Show newest version
package com.github.aqiu202.starters.jpa.query.dsl;

import com.querydsl.core.Tuple;
import com.querydsl.core.types.EntityPath;
import com.querydsl.core.types.Expression;
import com.querydsl.jpa.JPQLQueryFactory;
import com.querydsl.jpa.impl.JPADeleteClause;
import com.querydsl.jpa.impl.JPAUpdateClause;
import java.util.List;

public interface JPAQueryExecutor extends JPQLQueryFactory {

    JPADeleteClause delete(EntityPath path);

     JPANAQuery select(Expression expr);

    JPANAQuery select(Expression... exprs);

     JPANAQuery selectDistinct(Expression expr);

    JPANAQuery selectDistinct(Expression... exprs);

    JPANAQuery selectOne();

    JPANAQuery selectZero();

     JPANAQuery selectFrom(EntityPath from);

    JPANAQuery from(EntityPath from);

    JPANAQuery from(EntityPath... from);

    JPAUpdateClause update(EntityPath path);

    JPANAQuery query();

     T save(T entity);

     T saveAndFlush(T entity);

     List save(Iterable entities);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy