ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From RichadB <richard.b...@aimhedge.com>
Subject Re: not known to the MapperRegistry with iBatis 3.0
Date Mon, 17 Aug 2009 15:26:51 GMT

Adding the explicit mapping seems to work (or at least it gets me to another
error of the sort I would expect to see). I don't think I'm doing anything
strange, so I'm not sure why it doesn't automatically load

Thanks Clinton


Clinton Begin wrote:
> 
> Strange, it should add it automatically if the namespace shares the
> name of a class.  That said, you can add it manually...
> 
> sqlSessionFactory.getConfiguration().addMapper(Your.class);
> 
> I'll add this to the documentation.
> 
> Clinton
> 
> 
-- 
View this message in context: http://www.nabble.com/not-known-to-the-MapperRegistry-with-iBatis-3.0-tp25007484p25008853.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
For additional commands, e-mail: user-java-help@ibatis.apache.org


Mime
View raw message