RE: queryForObject/queryForList where is the documentation for the Object parameter?

2009-07-02 Thread meindert
You can only have one input Object. For simple parameters I use a Map object; As larry said, the GRD (Get R' Done) approach to do this: MapString, Object param = new HashMapString, Object(); param.put(id, yourInt); param.put(description, yourString); In you sqlmap you can revere to these

Re: queryForObject/queryForList where is the documentation for the Object parameter?

2009-07-02 Thread Fred Janon
Thanks. It seems though that there are more facets to it, like XML which is particularly interesting for RESTful services. Fred On Thu, Jul 2, 2009 at 14:49, meindert meind...@eduflex.com wrote: You can only have one input *Object. *For simple parameters I use a Map object; As larry said,

RE: queryForObject/queryForList where is the documentation for the Object parameter?

2009-07-02 Thread meindert
Hi Fred, The XML parameter object is quite interesting, it doesn't look like ibatis can handle a 'XML object' the same way as it can return a XML string object; http://www.mail-archive.com/user-java@ibatis.apache.org/msg13636 Just a note, the XML returned from ibatis is quite limited, I

How to Set Fetch Size For ResultSet In IBatis for performance increase for large data retrieving (more than 6000 records)

2009-07-02 Thread Sankar Reddy
Hi everyone, I am facing some performance issue with IBatis procedure for retrieving large data (having more than 6000 records)from database. i am unable to Set Fetch Size For ResultSet with Ibatis, br I tested with simple JDBC and datasource with Set Fetch Size For ResultSet it improved

How to set Prefetch size on the resultSet level in IBATIS

2009-07-02 Thread Sankar Reddy
Hi, We are having issues with the prefetchSize property that is available at the procedure element (of ibatis sqlmap). Even though we set the prefetch size to a value, say 100, ibatis ignores this and always defaults to 10 (jdbc driver default). Also our application is a weblogic based J2EE app

Re: queryForObject/queryForList where is the documentation for the Object parameter?

2009-07-02 Thread Larry Meadors
FYI: XML parameters and results are on the way out with ibatis 3. Larry On Thu, Jul 2, 2009 at 2:06 AM, meindertmeind...@eduflex.com wrote: Hi Fred, The XML parameter object is quite interesting, it doesn’t look like ibatis can handle a ‘XML object’ the same way as it can return a XML

Re: ScriptRunner question

2009-07-02 Thread Matthias Paul
Then I'm looking forward to iBatis 3 :) Doesnt depend on setDelimiter(), it looks as if the newline character is trimmed from input script in any case. Patched the file and it works now. Thank you! Paule Original-Nachricht Datum: Sat, 27 Jun 2009 13:52:38 -0600 Von:

Re: queryForObject/queryForList where is the documentation for the Object parameter?

2009-07-02 Thread Fred Janon
That's too bad. One more thing to do in the code. I thought that JSON and XML support would be really good to implement RESTful web services. Is there a specific reason for taking it out? Fred On Thu, Jul 2, 2009 at 21:34, Larry Meadors larry.mead...@gmail.com wrote: FYI: XML parameters and