ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sagar Naik <sagarna...@yahoo.co.in>
Subject RE: DaoException
Date Wed, 22 Jun 2005 20:06:05 GMT
Thxs, I got the answer
After a careful look, I found the mistake
By mistake , I wrote the name of the class and not of
the interface in getDAO call

Thxs

--- "Mitchell, Steven C" <Steven.Mitchell@umb.com>
wrote:

> It doesn't sound like it found the DAO interface you
> passed to the
> DaoManager in your DAO.xml file.
> 
> -----Original Message-----
> From: Sagar Naik [mailto:sagarnaik8@yahoo.co.in] 
> Sent: Wednesday, June 22, 2005 1:25 PM
> To: user-java@ibatis.apache.org
> Subject: DaoException
> 
> 
> Hello Sire,
> 
> I get this exception when trying to acess MySQL
> 
> com.ibatis.dao.client.DaoException: There is no DAO
> implementation found
> for class org.questforum.fwork.db.UserDAO 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.
> 
> 
> 		
>
_______________________________________________________
> Too much spam in your inbox? Yahoo! Mail gives you
> the best spam
> protection for FREE! http://in.mail.yahoo.com
> 



		
__________________________________________________________
How much free photo storage do you get? Store your friends 'n family snaps for FREE with Yahoo!
Photos http://in.photos.yahoo.com

Mime
View raw message