I don't think it does what Bob wants. Here is another post from the
thread:

http://www.mail-archive.com/ibatis-user-cs%40incubator.apache.org/msg00356.html

It sounds like Bob is describing the case where his development
environment uses a slightly different set of sqlMaps than his
production environment:

 <!-- production-sqlmaps.config -->
 </sqlMaps>
  <sqlMap resource="Foo.xml" />
 </sqlMaps>

 <!-- dev-sqlmaps.config -->
 <sqlMaps>
  <sqlMap resource="Foo.xml" />
  <sqlMap resource="Bar.xml" />
  <sqlMap resource="Baz.xml" />
  <sqlMap resource="Boo.xml" />
 </sqlMaps>

By allowing the sqlMaps element to come from an external location, he
doesn't have to constantly update his main sqlMap.config file when he
adds or removes something from his test environment:

 <sqlMaps resource="${DEV_OR_PRODUCTION}-sqlmaps.config" />

The way the code is now, he would need to edit his sqlMap.config file
and comment out the three lines when he moves to production.

That's how I understand it. Maybe if Bob provided a more concreate
example it would make more sense.

To answer your question: I think the issue is still open. The code in
SVN still does not allow the entire <sqlMaps> node to come from an
external location. Is this something that IBatisNet needs to
support...I don't know ???

- Ron

--- Gilles Bayon <[EMAIL PROTECTED]> wrote:
> Hi Ron,
>  So, I can closed the issue.
>  Cheers,
> Gilles
> 
>  On 5/22/05, Ron Grabowski (JIRA) <ibatis-dev@incubator.apache.org>
> wrote: 
> > 
> > [ 
> >
>
http://issues.apache.org/jira/browse/IBATISNET-69?page=comments#action_65984]
> > 
> > Ron Grabowski commented on IBATISNET-69:
> > ----------------------------------------
> > 
> > I agree with you Gilles. The code I uploaded was in response to
> this post 
> > from Bob:
> > 
> > 
> >
>
http://www.mail-archive.com/ibatis-user-cs%40incubator.apache.org/msg00358.html
> > 
> > 
> > > Allow sqlMap nodes to come from an external location rather than 
> > /sqlMapConfig/sqlMaps/sqlMap
> > > 
> >

Reply via email to