Re: Suggest that resultMap add a ignoreNotExists attribute.

2009-06-18 Thread joson yu
hi liangfei: i meet a situation,just like your example,i need to use the same resultmap with the two query. and currently ,is there any way to attain the aim. 2009/6/2 liangfei liangfei0...@gmail.com Suggest that resultMap add a ignoreNotExists attribute: resultMap id=xresult class=xclass

Re: Suggest that resultMap add a ignoreNotExists attribute.

2009-06-18 Thread Larry Meadors
Easy route: select id=s1 resultMap=xresult select a, b, null as c from x /select If you feel really, really strongly that it is added, get the source from svn and do so. :-) Larry On Thu, Jun 18, 2009 at 5:41 AM, joson yuyuqian...@gmail.com wrote: hi liangfei:  i meet a

Error while trying to call stored proc from ibatis

2009-06-18 Thread aravind . s
Hi, Am trying to call a stored procedure from ibatis. SqlMap.xml parameterMap id=parameterId class=Sample parameter property=id jdbcType=VARCHAR javaType=java.lang.String mode=IN / parameter property=name jdbcType=VARCHAR javaType=java.lang.String mode=IN /

Re: Error while trying to call stored proc from ibatis

2009-06-18 Thread Jeff Butler
This looks like an exception raised by the DB. My guess is that the SP doesn't really have three parameters. Maybe it should be this: {? = call sample_stored_proc(?,?)} (just a guess) Jeff Butler On Thu, Jun 18, 2009 at 8:43 AM, aravind.s aravin...@cgi.com wrote: *Hi,* * * *Am trying

issue of ibatis sqlmap list of list

2009-06-18 Thread BruceKKK
i met ora-01795 error, so i need separate list to several size limited lists, I am trying use nested iterators to iterate over a List of List using following code: select id=getList parameterClass=map resultClass=com.ResultObject select * from ** where isNotEmpty

Re: issue of ibatis sqlmap list of list

2009-06-18 Thread Nicholoz Koka Kiknadze
Turn on logging (see iBatis docs) to see what does the generated SQL statement look like. On Fri, Jun 19, 2009 at 7:34 AM, BruceKKK sibyl0...@gmail.com wrote: i met ora-01795 error, so i need separate list to several size limited lists, I am trying use nested iterators to iterate over a List