Return-Path: Delivered-To: apmail-incubator-ibatis-user-java-archive@www.apache.org Received: (qmail 44434 invoked from network); 18 Mar 2005 06:44:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 18 Mar 2005 06:44:31 -0000 Received: (qmail 93332 invoked by uid 500); 18 Mar 2005 06:44:31 -0000 Delivered-To: apmail-incubator-ibatis-user-java-archive@incubator.apache.org Received: (qmail 93306 invoked by uid 500); 18 Mar 2005 06:44:30 -0000 Mailing-List: contact ibatis-user-java-help@incubator.apache.org; run by ezmlm Precedence: bulk Reply-To: ibatis-user-java@incubator.apache.org List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list ibatis-user-java@incubator.apache.org Received: (qmail 93293 invoked by uid 99); 18 Mar 2005 06:44:30 -0000 X-ASF-Spam-Status: No, hits=2.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,FORGED_YAHOO_RCVD X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from web30508.mail.mud.yahoo.com (HELO web30508.mail.mud.yahoo.com) (68.142.200.121) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 17 Mar 2005 22:44:28 -0800 Received: (qmail 38140 invoked by uid 60001); 18 Mar 2005 06:44:26 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=aYi+tKlNQHvqYPqQe5KKiUbHedb7AhW2GxUefoQGKtPbE70/yiO653UWXofXr79Oghykq2FUyHLklWOl4dAccAGqCtEUVqYNAwGiX3gdWv1FCrz0KyJ/MV5cgrqPpNUI2ISHYzqSWZW3FChCFTP6UZHdAK1jE6VvKa8KiC5oQBU= ; Message-ID: <20050318064426.38138.qmail@web30508.mail.mud.yahoo.com> Received: from [61.246.179.3] by web30508.mail.mud.yahoo.com via HTTP; Thu, 17 Mar 2005 22:44:26 PST Date: Thu, 17 Mar 2005 22:44:26 -0800 (PST) From: Swati Singhal Subject: How does iBATIS read the SqlMap files? To: ibatis-user-java@incubator.apache.org In-Reply-To: 6667 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I have an Actionclass from where I instantiate my Service class which in turn gets me a DAO instance and calls a class where I say: daoManager.startTransaction(); insert("insertRow", row); daoManager.endTransaction(); Now, I have defined all my XML files containing the queries in sql-map-config.xml file like: What I want to know is, how does iBATIS know which of the 2 XML files it should look INTO for finding a statement named "insertRow" ?? I have only one such XML file and have a statement by the name "insertRow" but am getting that "there is no statement by the name "insertRow" in this SqlMap" Any solutions? Thanks __________________________________ Do you Yahoo!? Make Yahoo! your home page http://www.yahoo.com/r/hs