ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hendry <hendry...@elasitas.com>
Subject about dao implementation
Date Mon, 01 May 2006 09:23:43 GMT
Hi all,

Right now I'm trying to use dao framework and sql map for my 
application, before I was using only sql map. But I got this error,

"com.ibatis.dao.client.DaoException: There is no DAO implementation 
found for class com.abc.dao.sqlmap.SqlMapDao in any context. If you've 
registered multiple implementations of this DAO, you must specify the 
Context ID for the DAO implementationyou're looking for using the 
getDao(Class iface, String contextId) method."

dao.xml that i used :

<!DOCTYPE daoConfig PUBLIC "-//ibatis.apache.org//DTD DAO Configuration 
2.0//EN" "http://ibatis.apache.org/dtd/dao-2.dtd">
     <properties resource="conf/db.properties"/>

     <!-- JDBC DAO Configuration -->
     <!-- SQL Maps DAO Configuration -->

         <transactionManager type="SQLMAP">
             <property name="SqlMapConfigResource" 

         <dao interface="com.abc.dao.ContentOrderDao"



View raw message