com.github.aqiu202.starters.jpa.dao.SQLRepository Maven / Gradle / Ivy
package com.github.aqiu202.starters.jpa.dao;
import com.github.aqiu202.starters.jpa.sql.AbstractQuery;
import java.util.Map;
public interface SQLRepository {
AbstractQuery of(String sql, Map parameters);
AbstractQuery of(String sql, Object... parameters);
AbstractQuery hql(String hql, Map parameters);
AbstractQuery hql(String hql, Object... parameters);
AbstractQuery of(SqlBuilder builder, Object... parameters);
AbstractQuery of(SqlBuilder builder, Map parameters);
AbstractQuery hql(SqlBuilder builder, Object... parameters);
AbstractQuery hql(SqlBuilder builder, Map parameters);
}