cn.sylinx.hbatis.ext.mirage.MirageService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hbatis-core Show documentation
Show all versions of hbatis-core Show documentation
hbatis is a simple orm framework
package cn.sylinx.hbatis.ext.mirage;
import java.util.List;
import java.util.Map;
import cn.sylinx.hbatis.db.common.BaseDbOper;
import cn.sylinx.hbatis.db.common.HbatisService;
import cn.sylinx.hbatis.db.common.Record;
import cn.sylinx.hbatis.ext.res.ClasspathSqlResource;
/**
* MirageService, 读取类路径下的sql文件
*
* @author han
*
*/
public interface MirageService extends HbatisService, BaseDbOper {
/**
* 使用特定数据源
*
* @param datasourceName
* @return
*/
public MirageService useService(String datasourceName);
/**
* 使用缓存查询
*
* @return
*/
public MirageCacheQuery withMirageCache();
/**
* 查询Map列表
*
* @param sqlId
* @param params
* @return
*/
public List