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: Something like an interceptor
Date Thu, 07 Feb 2008 17:34:30 GMT
The code generated by Abator offers this functionality using iBATIS' dynamic
SQL support.  I'm not necessarily suggesting you use Abator, but you might
take a look at the code it generates for an idea of how to accomplish this
with iBATIS.

Jeff Butler



On Feb 7, 2008 11:23 AM, ercannon <ercannon@gmail.com> wrote:

>
> Hi,
> Our functional team has asked us for a new requirement: they want to
> filter
> data showed to the client by BD. They want something in order to add
> dynamic
> filters (for filtering rows and columns) defining them using database (for
> example, a profile should only retrieve the registers fo the district "5",
> and we will retrieve this field for filtering (district) and its value (5)
> from database.
> I've done something like this easily using hibernate or OJB. Our
> development
> team is using ibatis, so we are looking for something like the
> "addCriteria"
> but we haven't found nothing that totally satisfy us with ibatis.
> The "filter" should be transparent to the programmer (so we wouldn't like
> to
> use the $ idea in the sql maps nor dynamic tags in the sqlmap).
>
> Any ideas?
>
> Thanks, Manuel
> --
> View this message in context:
> http://www.nabble.com/Something-like-an-interceptor-tp15338736p15338736.html
> Sent from the iBATIS - User - Java mailing list archive at Nabble.com<http://nabble.com/>
> .
>
>

Mime
View raw message