文章列表
iBatis里有个dao.xml配置文件,是不是只能应用在web层,如果不是的话,那我现在在开发一个基于Eclipse RCP应用的时候,DAO层也用到了dao.xml
但是总有个这样的错误
There is no DAO implementation found for class com.XXX.XXXDAO in any context. If you've registered multiple implementations of this DAO, you must specify the Context ID for the DAO implementationyou're lo ...
import java.io.Reader;
import java.util.Properties;
import com.ibatis.common.resources.Resources;
import com.ibatis.dao.client.DaoManager;
import com.ibatis.dao.client.DaoManagerBuilder;
/**
* @author
*
*/
public class DAOConfig {
private static final String resource = "com/cornerstone/ ...