ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Benedict <paul4chris...@yahoo.com>
Subject Re: (tangent) Cache w/ Hierarchical ResultMaps
Date Thu, 03 Nov 2005 05:06:02 GMT

My other option is to say "heck with solving the N+1
problem!" and turn my nested resultMaps into nested
selects. For each object, execute N selects for N
inner objects.... it would sure clean up my code!

Man, I feel so alone here LOL I am sorry no one else
has really complex queries which requires column
renaming and listing out of the columns.

--- Larry Meadors <lmeadors@apache.org> wrote:

> On 11/2/05, Paul Benedict <paul4christ79@yahoo.com>
> wrote:
> > I could use iBATIS and Hibernate side by side, but
> > that would be an odd combination.
> I have to confess that I was involved in a project
> that did just that.
> For the love of all that is good and right in the
> universe, don't do it.
> It was *that* bad.
> Two frameworks caching data with different
> strategies...two frameworks
> managing transactions differently...two frameworks
> grabbing and
> releasing connections. The pain...the pain...
> Larry

Yahoo! FareChase: Search multiple travel sites in one click.

View raw message