Thanks, it works now :)

cheers

On Thu, May 8, 2008 at 11:23 PM, Christopher Lamey <[EMAIL PROTECTED]>
wrote:

> If you set useStatementNamespaces to 'false', you will not be able to use
> the 'ns.query' notation - you are disabling the feature.
>
> If you set useStatementNamespaces to 'true', you are enabling the feature
> and can use the 'ns.query' notation.
>
> On 5/8/08 2:56 PM, "Filipe David Manana" <[EMAIL PROTECTED]> wrote:
>
> > Ah!
> >
> > So, even with false  (default) for the useStatementNamespaces setting, I
> > will be able to use the Namespace.queryName notation? right?
> >
> > thanks a lot
> >
> > On Thu, May 8, 2008 at 10:24 PM, Christopher Lamey <
> [EMAIL PROTECTED]>
> > wrote:
> >
> >> Hello,
> >>
> >> Yes you can.
> >>
> >> Please see page 10 of the iBATIS PDF, specifically the section on
> >> useStatementNamespaces for details.
> >>
> >> Cheers,
> >> Chris
> >>
> >>
> >> On 5/8/08 1:47 PM, "Filipe David Manana" <[EMAIL PROTECTED]> wrote:
> >>
> >>> Hi,
> >>>
> >>> In my app I have several sql maps (each one in a separate xml file).
> Each
> >>> sql map has a diferent purpose, so each one has a different namespace.
> >>> It happens that I have different sql maps (different namespaces) with
> >>> queries (select) that have the same ID. When I use SqlMapClient method
> >> like
> >>> queryForObject,
> >>> can I specify something like "Example.getNames" as the query name?
> Where
> >>> Example is the namespace and getNames is the query ID.
> >>>
> >>> cheers
> >>
> >>
> >
>
>


-- 
Filipe David Manana,
[EMAIL PROTECTED]

"The cruellest lies are often told in silence."

Reply via email to