info.unterrainer.commons.httpserver.daos.QueryInterface Maven / Gradle / Ivy
package info.unterrainer.commons.httpserver.daos;
import java.util.Set;
import jakarta.persistence.EntityManager;
import jakarta.persistence.TypedQuery;
import info.unterrainer.commons.rdbutils.entities.BasicJpa;
interface QueryInterface {
EntityManager getEntityManager();
BasicJpqlDao
getDao();
TypedQuery getTypedQuery(final EntityManager em);
jakarta.persistence.Query getCountQuery(final EntityManager em);
Set getReadTenantIds();
Set getWriteTenantIds();
}