Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 96823 invoked from network); 26 Sep 2006 21:45:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Sep 2006 21:45:45 -0000 Received: (qmail 73231 invoked by uid 500); 26 Sep 2006 21:45:44 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 73020 invoked by uid 500); 26 Sep 2006 21:45:43 -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 73009 invoked by uid 99); 26 Sep 2006 21:45:43 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Sep 2006 14:45:43 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=clinton.begin@gmail.com; spf=pass Authentication-Results: idunn.apache.osuosl.org header.from=clinton.begin@gmail.com; domainkeys=good X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE Received-SPF: pass (idunn.apache.osuosl.org: domain gmail.com designates 66.249.82.233 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from [66.249.82.233] ([66.249.82.233:59834] helo=wx-out-0506.google.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 5D/C0-16382-38F99154 for ; Tue, 26 Sep 2006 14:45:41 -0700 Received: by wx-out-0506.google.com with SMTP id h30so2590549wxd for ; Tue, 26 Sep 2006 14:45:37 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ozlxYYANyhU+zyP+5OgrYNYY3obiKf8fzCQIlegoXC6Q2DSaBGe4er6a+fhJ/40piRh5Zpb6PiM1zSwwBxASdIFu8ysZYNrVaXpvLqKdTldCVUv/XsO6dfOMcuh1W2zFwB7EhFkPEestPsPgU0emUlxYXADXW45dpq7soSPqEI4= Received: by 10.90.80.8 with SMTP id d8mr721325agb; Tue, 26 Sep 2006 14:45:37 -0700 (PDT) Received: by 10.90.116.13 with HTTP; Tue, 26 Sep 2006 14:45:32 -0700 (PDT) Message-ID: <16178eb10609261445w260864c7wf49dc6f49052f98c@mail.gmail.com> Date: Tue, 26 Sep 2006 15:45:32 -0600 From: "Clinton Begin" To: user-java@ibatis.apache.org Subject: Re: JavaScript + iBATIS In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_19680_27380251.1159307132332" References: <01aa01c6e0ba$c5398d60$0302a8c0@rinaldo> <019701c6e0c3$938e5120$baaaf360$@com> <16178eb10609251112t116b7da1t2399eae650f33ad1@mail.gmail.com> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_19680_27380251.1159307132332 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline If you do decide to implement XML support, I don't recommend doing it this way.... :-) Instead, I'd add a couple of methods: .QueryForXML() Which would allow the mapping to still be to a Hashtable or a Domain Class, but it would translate the properties or Dictionary key/value pairs into the XML document structure. The way that it's implemented for iBATIS for Java right now is cool, but it is somewhat limiting and creates the need for duplication if you want both XML and Beans or Maps. It also creates problems with lists of results and the semantics for retrieving . Right In any case, hope that helps. Cheers, Clinton On 9/26/06, Gilles Bayon wrote: > > No > > On 9/26/06, Rahul Singh ( Anant ) wrote: > > Has this functionality filtered down to the .NET version yet? > > > > Rahul > > > > -- > Cheers, > Gilles > > Wish List > ------=_Part_19680_27380251.1159307132332 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
If you do decide to implement XML support, I don't recommend doing it this way.... :-)

Instead, I'd add a couple of methods:

.QueryForXML()

Which would allow the mapping to still be to a Hashtable or a Domain Class, but it would translate the properties or Dictionary key/value pairs into the XML document structure. 

The way that it's implemented for iBATIS for Java right now is cool, but it is somewhat limiting and creates the need for duplication if you want both XML and Beans or Maps. It also creates problems with lists of results and the semantics for retrieving .  Right

In any case, hope that helps.

Cheers,
Clinton

On 9/26/06, Gilles Bayon <ibatis.net@gmail.com > wrote:
No

On 9/26/06, Rahul Singh ( Anant ) < rahul.singh@anant.us> wrote:
> Has this functionality filtered down to the .NET version yet?
>
> Rahul
>

--
Cheers,
Gilles

<a href=" http://www.amazon.com/gp/registry/6JCP7AORB0LE">Wish List</a>

------=_Part_19680_27380251.1159307132332--