Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 92953 invoked from network); 28 Jul 2006 10:45:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Jul 2006 10:45:08 -0000 Received: (qmail 89399 invoked by uid 500); 28 Jul 2006 10:45:06 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 89380 invoked by uid 500); 28 Jul 2006 10:45:06 -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 89369 invoked by uid 99); 28 Jul 2006 10:45:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jul 2006 03:45:06 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [212.159.14.133] (HELO pih-relay06.plus.net) (212.159.14.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jul 2006 03:45:05 -0700 Received: from [212.159.113.189] (helo=[192.168.7.254]) by pih-relay06.plus.net with esmtp (Exim) id 1G6Ppj-00085B-7z for user-java@ibatis.apache.org; Fri, 28 Jul 2006 11:44:43 +0100 Date: Fri, 28 Jul 2006 11:44:32 +0100 (BST) From: Graeme J Sweeney X-X-Sender: irnbru@localhost.localdomain Reply-To: Graeme J Sweeney To: user-java@ibatis.apache.org Subject: Re: statements and result maps in different files? In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Fri, 28 Jul 2006, Stefan Podkowinski wrote: > Can anyone give advise how to seperate object mappings from statements > in ibatis? We would like to create a file containing a few complex > reporting queries with the intention to use it as a common query > definition base for several applications. The problem is we cannot us > a common result mapping, because objects vary in each application. Have you tried XML entities? Something like ]> &theResultMaps; I use that to split up ANT build files though haven't tried it with iBatis. -- Graeme -