I understand IBatis is trying to do one thing only --
Mapping object to
table.
However objects and also tables are only meaningful within
their
relationships to
other entities. IBatis is very good product. But it forces
users to
reinvent this persistence
mechanism over and over and over. What a waste! I can see
that there
will be huge benefit
toward to users if this is possible within (or as a plug in)
IBatis
framework.
Brian
-----Original Message-----
From: Gilles Bayon [mailto:ibatis.net gmail.com]
Sent: Monday, September 25, 2006 7:01 AM
To: user-cs ibatis.apache.org
Subject: Re: Persisting Object Graph
Nor the .NET or the Java version support that, you have to
do it
manually
On 9/25/06, Choi, Brian <bchoi firstam.com> wrote:
>
>
>
> Hi all. Anybody implemented Object Graph Persistence
using IBatis?
>
> It seems like there is only loading support via Lazy
Load. (Java
> version has join fetch).
>
> It will be great if someone can share their experience
or best
practice.
>
>
>
> Currently I am using external xml or custom attribute
so that I can
> use that info
>
> to persist all the related objects. It will be much
easier if we have
> similar construct describing object relationship
>
> for insert, update and delete as in "select"
clause in ParameterMap.
>
>
>
> Brian Choi
--
Cheers,
Gilles
<a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE"
>Wish List</a>
|