Re: N+1 problem

2006-09-25 Thread Zoran Avtarovski
Version 2.1.7 Z. > What version of iBATIS are you using? > > On Tue, 2006-09-26 at 10:19 +1000, Zoran Avtarovski wrote:

Re: N+1 problem

2006-09-25 Thread Chris Lamey
What version of iBATIS are you using? On Tue, 2006-09-26 at 10:19 +1000, Zoran Avtarovski wrote: > I’m having an issue with my N+1 resultset. It’s throwing up a quirk I > haven’t seen before. > > I’m building a menu-submenu structure. The resultset I’m getting from > mysql is as expected (see bel

N+1 problem

2006-09-25 Thread Zoran Avtarovski
Title: N+1 problem I’m having an issue with my N+1 resultset. It’s throwing up a quirk I haven’t seen before. I’m building a menu-submenu structure. The resultset I’m getting from mysql is as expected (see below). Each main menu item (label, value set) has a list of submenu items (test_id, comm

Re: JavaScript + iBATIS

2006-09-25 Thread Larry Meadors
Yeah, we just need to make queryForList return a list in a document, not a list of documents. I think it'd also be a reasonably trivial exercise to make a bean/map -> json converter, too. Larry On 9/25/06, Clinton Begin <[EMAIL PROTECTED]> wrote: Yep. XML it is. The JavaScript/DOM APIs are

Re: JavaScript + iBATIS

2006-09-25 Thread Clinton Begin
Yep.  XML it is.  The _javascript_/DOM APIs are pretty simple for processing results from XML.  JSON is good too...but XML is supported more widely and by more tools.In iBATIS it's as simple as: No beans, no maps, nothing.  You can also use xml as a parameter or a string as a result depending on ho

RE: JavaScript + iBATIS

2006-09-25 Thread Levan Dvalishvili
Don’t want to go into off topic but I would prefer more feature full Yahoo UI over GWT. anyways, the reason I think Ibatis will do AJAX well in XML vs JSON is : I could get my persistence layer to give me XML ( which is possible with Ibatis, P.S Never tried it but documentation says so :)) for

R: JavaScript + iBATIS

2006-09-25 Thread Rinaldo
You can find some json example using gwt http://code.google.com/webtoolkit/documentation/examples/ Rinaldo -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto di Larry Meadors Inviato: lunedì 25 settembre 2006 17.37 A: user-java@ibatis.apache.org Oggetto: Re:

Re: JavaScript + iBATIS

2006-09-25 Thread Larry Meadors
One approach that I have seen with good results is working with JSON to create javascript objects with jsp. Larry On 9/25/06, Levan Dvalishvili <[EMAIL PROTECTED]> wrote: I would say returning XML instead of java bean and sending it to client would be one of the straight forward ways to do it

RE: dynamic tables names in query problem

2006-09-25 Thread Poitras Christian
The reason "value[]" doesn't work is because someone may want to write something like this. Object MyObject having a property "values" which is a List of MyObjects. Then the iterate tag would be confused in front of a line like this. some sql #values[]# Ouch I know it's unlikely to happen

RE: JavaScript + iBATIS

2006-09-25 Thread Levan Dvalishvili
I would say returning XML instead of java bean and sending it to client would be one of the straight forward ways to do it would not it? Maybe running a little XSL filter prior ? Levan Dvalishvili Support Lead  US Verticali,Inc (646) 736 - 6075 -Original Message- From: Fred Janon [mail

Multiple result set cache support

2006-09-25 Thread Alessandro Berbenni
Hi all, does anyone know how to use multiple resultSet support (resultMap="resultMap1, resultMap2" or resultClass="resultClass1, resultClass2") to cache an sql statement that return multipe resultSets? Thanks, Alessandro -- View this message in context: http://www.nabble.com/Multiple-result-

R: Re[2]: Ibatis goes to New york?

2006-09-25 Thread Rinaldo
Very interesting, I'm just planing to use ajax and spring in a new version of my application. Looking on google,dwt,... Waiting to see the example AJAX/IBATIS on line Rinaldo -Messaggio originale- Da: Rogov Andrey [mailto:[EMAIL PROTECTED] Inviato: lunedì 25 settembre 2006 11.02 A: Cli

Re[2]: Ibatis goes to New york?

2006-09-25 Thread Rogov Andrey
Hi Clinton !. Congratulations ! I am very interested in the example AJAX/IBATIS. When it is accessed pls send the reference. Andrey !. CB> Hi there, CB> I don't have any plans. But I just did my iBATIS/Ajax demo in a talk at CB> NFJS yesterday. It is pretty cool. I may put together a more com