ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clinton Begin" <clinton.be...@gmail.com>
Subject Re: JavaScript + iBATIS
Date Tue, 26 Sep 2006 21:45:32 GMT
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>
>

Mime
View raw message