Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 82397 invoked from network); 27 Jul 2007 23:21:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jul 2007 23:21:31 -0000 Received: (qmail 89077 invoked by uid 500); 27 Jul 2007 23:21:29 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 89063 invoked by uid 500); 27 Jul 2007 23:21:29 -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 89052 invoked by uid 99); 27 Jul 2007 23:21:29 -0000 Received: from Unknown (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jul 2007 16:21:29 -0700 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; Fri, 27 Jul 2007 23:21:22 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IEZ7D-0006qF-UD for user-java@ibatis.apache.org; Fri, 27 Jul 2007 16:20:59 -0700 Message-ID: <11838111.post@talk.nabble.com> Date: Fri, 27 Jul 2007 16:20:59 -0700 (PDT) From: HHB To: user-java@ibatis.apache.org Subject: Basic mapping in iBatis MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: hubaghdadi@yahoo.ca X-Virus-Checked: Checked by ClamAV on apache.org Hi. I have these two entites: Order and OrderItem ------------------ class Order { List orderItems; } class OrderItems { Order order; } ----------------- How to map this relationship at the XML level? How can I load an Order with all its order items are fully initialized (no 1 + N problem please)? Thanks for help. -- View this message in context: http://www.nabble.com/Basic-mapping-in-iBatis-tf4160616.html#a11838111 Sent from the iBATIS - User - Java mailing list archive at Nabble.com.