Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 38616 invoked from network); 7 Feb 2008 17:23:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Feb 2008 17:23:35 -0000 Received: (qmail 1361 invoked by uid 500); 7 Feb 2008 17:23:24 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 1339 invoked by uid 500); 7 Feb 2008 17:23:24 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 1166 invoked by uid 99); 7 Feb 2008 17:23:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Feb 2008 09:23:24 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Feb 2008 17:22:53 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JNASj-0002Av-7j for user-java@ibatis.apache.org; Thu, 07 Feb 2008 09:23:01 -0800 Message-ID: <15338736.post@talk.nabble.com> Date: Thu, 7 Feb 2008 09:23:01 -0800 (PST) From: ercannon To: user-java@ibatis.apache.org Subject: Something like an interceptor MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ercannon@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org 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.