Re: Simple question

2006-11-10 Thread Amad Fida
perties for each CUSTOMPROPERTY instead of the list? On 11/10/06, Amad Fida <[EMAIL PROTECTED]> wrote: All - I have a POJO which has a collection property as, public class User {    private List customProperties;     public List getCustomProperties() {         return customProperties;    }     public vo

Simple question

2006-11-10 Thread Amad Fida
All - I have a POJO which has a collection property as, public class User {    private List customProperties;    public List getCustomProperties() {        return customProperties;    }    public void setCustomProperties( List customProperties) {        customProperties = customProperties;     } }

HashMap's List entry for

2006-03-08 Thread Amad Fida
I have a following select statement,     select * from accounts             #accountIdList[]#        My parameter class is HashMap as i createa map likeMap params = new HashMap();params.put("accountIdList", accountIds);My assumption is that iB

Re: SQL Query as variable

2005-12-24 Thread Amad Fida
Thanks Jeff, this is exactly i was looking for.AmadJeff Butler <[EMAIL PROTECTED]> wrote: Sounds like the and tags are what you need.  See this FAQ:   http://opensource2.atlassian.com/confluence/oss/pages/viewpage.action?pageId=707   Jeff Butler   On 12/24/05, Amad Fida <[EMAIL PROTECTE

SQL Query as variable

2005-12-24 Thread Amad Fida
Hi, I have following problem on hand and wondering if iBatis provides anything here. I have two tables with 95% similar columns, in fact at domain object level one extends from the other. For resultMaps I use “extends” and I can avoid duplicating lot of sqlmaps. Now the question is insert

Collection properties in resultMap

2005-10-29 Thread Amad Fida
Hi all, I have a table which has columns like CutomField1, CustomField2, etc Now I have a class Class User { private Collection customFields; . } How would I map individual columns to single collection property? Is something like this possible?

Collection property in resultMap

2005-10-25 Thread Amad Fida
Hi all, I have a table which has columns like CutomField1, CustomField2, etc Now I have a class Class User { private Collection customFields; . } How would I map individual columns to single collection property? Is something like this possible?