Re: Missing commit after select won't update cache

2010-03-19 Thread Björn Raupach
I created IBATIS-763. Björn On Mar 19, 2010, at 6:21 AM, lawouc wrote: > > I'm experiencing the same issue as Björn. Can someone tell me if issuing a > session.commit(); is the proper way to ensure the results of a query are > cached? Is there any round trip to the database with an iBatis co

Nasser Shahcheraghi/SAC/IPS/FHS is out of the office.

2010-03-19 Thread Nasser . Shahcheraghi
I will be out of the office starting 03/19/2010 and will not return until 03/22/2010. I will respond to your message when I return. - This message, together with any attachments, is intended only for the use of the individu

Novice problem with circular dependencies

2010-03-19 Thread Alexander Reelsen
Hi I am currently playing around with ibatis and stuck with bidirectional associations/circular dependencies - after googling a little bit around my understanding is, that it should work, when caching/lazy loading is enabled. So, consider the following java classes for small example: class Camp

Re: Novice problem with circular dependencies

2010-03-19 Thread Clinton Begin
Unfortunately you can't do that with nested result maps that way. The problem is that the iBATIS sql map syntax doesn't allow for a way to express the shift of IDs. To build a hierarchy of nodes for example, the parent node id has to use the same column as the child node id. Because of this, iBA

what happened to queryForMap?

2010-03-19 Thread Rick R
I really though queryForMap was cool. I'm looking for how to do it in ibatis3 but don't see a way. Doesn't seem to exist as a select type on the Session (and don't see it in the docs.) Was it canned in ibatis3, if so, just curious why? (Granted it's not hard to build a Map in java after I get my li

Re: what happened to queryForMap?

2010-03-19 Thread Clinton Begin
It was liquidated. Honestly I thought it was messy... but maybe I underestimated its usefulness... Clinton On Fri, Mar 19, 2010 at 3:19 PM, Rick R wrote: > I really though queryForMap was cool. I'm looking for how to do it in > ibatis3 but don't see a way. Doesn't seem to exist as a select type

Re: what happened to queryForMap?

2010-03-19 Thread Rick R
On Fri, Mar 19, 2010 at 8:08 PM, Clinton Begin wrote: > It was liquidated. Honestly I thought it was messy... but maybe I > underestimated its usefulness... > Well, most times I'm using it are for when I have a nested structure defined defined by a parentID column in the same table and you can ha