ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Butler" <jeffgbut...@gmail.com>
Subject Re: Namespaces
Date Tue, 18 Sep 2007 16:48:55 GMT
It is logged here:

http://issues.apache.org/jira/browse/IBATIS-135

But there's not much movement - it is difficult to fix in the current code
base.

Jeff Butler


On 9/18/07, Adam Zimowski <zimowski74@gmail.com> wrote:
>
> Yep, that's the problem. If I move User.xml up to load it before
> Page.xml I can refer to User.userResultMap from inside Page.xml.
>
> Does anybody know if this is logged as an issue and being worked on?
>
> -adam
>
> On 9/17/07, Jeff Butler <jeffgbutler@gmail.com> wrote:
> > There's a known issue that may be related.  If you do this, you must
> make
> > sure that your SqlMap XML files are specified in the proper order.  For
> > example, in Adam's situation you would need to ensure that the User
> > namespace is loaded before the Page namespace.
> >
> > Jeff Butler
> >
> >
> >
> > On 9/17/07, Fábio Pisaruk <pisaruk@gmail.com> wrote:
> > > Hey,
> > >
> > >
> > > I´ve noticed the same bug trying to extend a map defined in another
> > namespace.
> > > I really think this is a bug.
> > > I am almost convinced this is not a bug related to extend but to sql
> map
> > import.
> > > If you import the parent sqlMap followed by the child it should work.
> > > I haven´t tested it :-(
> > >
> > >
> > >
> > >
> > >
> > >
> > > On 9/17/07, Adam Zimowski <zimowski74@gmail.com > wrote:
> > > > Hi,
> > > > With namespaces turned on, it doesn't allow me to use a map from
> > > > another namespace. Say my "Page" namespace would like to re-use
> > > > User.userMap. Is this by design? If so, what is a work around for
> not
> > > > having to define the same map multiple times?
> > > >
> > > > -adam
> > > >
> > >
> > >
> > >
> > > --
> > > Visto como se não executa logo a sentença sobre a má obra, o coração
> dos
> > filhos dos homens está inteiramente disposto a praticar o mal.
> > >
> > >
> > > --Nerd´s sign
> > >
> > > If you have four classes, Everybody, Somebody, Anybody, and Nobody, if
> > Somebody has a bug, it could be Anybody 's fault but Nobody really
> knows,
> > while Everybody shares responsibility.
> > >
> > > "Programming today is a race between software engineers striving to
> build
> > bigger and better idiot-proof programs, and the universe trying to build
> > bigger and better idiots. So far, the universe is winning." - Rick Cook
> >
> >
>

Mime
View raw message