>>> >> } finally {
>>>>> >> session.close();
>>>>> >> }
>>>>> >> //... other code omitted but present in actual code
>>>>> >> }
>>>>> >>
>>&g
; >>
>>>> >> Now when I call IbatisSomeTypeDao.delete(arg) instead of finding my
>>>> >> mapped
>>>> >> interface (SomeTypeDao.delete()) iBATIS seems to look for delete() in
>>>> my
>>>> >> Dao class instead and
.lang.IllegalArgumentException: Mapped Statements collection does
>>> not
>>> >> contain value for com.icarus.common.dao.Dao.delete
>>> >>at
>>> >>
>>> >>
>>> org
gt;
>> >>
>> org.apache.ibatis.session.Configuration.getMappedStatement(Configuration.java:312)
>> >> at
>> >>
>> >>
>> org.apache.ibatis.binding.MapperMethod.setupCommandT
ethod.java:131)
> >>at
> >> org.apache.ibatis.binding.MapperMethod.(MapperMethod.java:41)
> >>at
> >> org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:18)
> >> at $Proxy1.delete(Unknown Source)
> >>
> >>
>
. However any method that was inherited by the interface is
>> mapped
>> to the parent interface it seems.
>>
>> Ideas? Help?
>>
>> Thanks.
>> --
>> View this message in context:
>> http://old.nabble.com/Issue-with-Interfac
do know for a fact that if I call
> SomeTypeDao.loadBySomething (method that isn't in Dao generic type) then
> the Configuration seems to find the appropriate mapping and doesn't
> complain. However any method that was inherited by the interface is mapped
> to the parent interface
Thanks.
--
View this message in context:
http://old.nabble.com/Issue-with-Interface-Mapper-that-Extends-an-Interface-itself-tp26732131p26732131.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.