ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clinton Begin" <clinton.be...@gmail.com>
Subject Re: Cannot find sqlmap in jar - new bug
Date Sun, 11 Jun 2006 03:53:43 GMT
>> which means that IBATIS is making a wrong assumption here

You're assuming iBATIS is making an assumption.  Which it is not. If you're
using the the iBATIS Resources util, you can confirm the behavior here:

http://svn.apache.org/repos/asf/ibatis/trunk/java/mapper/mapper2/src/com/ibatis/common/resources/Resources.java

Cheers,
Clinton

On 6/10/06, Paul Benedict <paul4christ79@yahoo.com> wrote:
>
> I am using version 2.1.5.582
>
> My web application has a sqlMapConfig.xml file which is the bootstrap
> config for ibatis. But the
> actual configuration files which it refers (<sqlMap> elements) are in a
> jar. Has anyone had this
> problem?
>
> I have verified that exploding the jar into my WEB-INF/classes directory
> makes the problem go
> away, which means that IBATIS is making a wrong assumption here. Is it
> using a File object instead
> of Class.getResourceAsStream() ?
>
> -- Paul
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>

Mime
View raw message