cn.sylinx.hbatis.ext.xmapper.Xmapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hbatis-xmapper Show documentation
Show all versions of hbatis-xmapper Show documentation
hbatis-xmapper is a simple orm framework, extends hbatis-core
package cn.sylinx.hbatis.ext.xmapper;
import cn.sylinx.hbatis.ext.DaoSupport;
import cn.sylinx.hbatis.ext.xmapper.repository.DaoService;
import cn.sylinx.hbatis.ext.xmapper.repository.DaoSingleton;
public class Xmapper {
public static DaoSupport getDaoSupport() {
return DaoSingleton.ME;
}
public static DaoService getDaoService() {
return getDaoSupport().getDaoService();
}
public static DaoService getDaoService(String datasourceName) {
return getDaoSupport().getDaoService(datasourceName);
}
}