Re: Multiple Parameters

2008-10-19 Thread Vadim
I don't see anything wrong, except 'FROM ATABLE o' in your query, but that's probably a typo, because you would have got an exception by now. Also, you are searching by ID's - maybe queryForObject is more appropriate in this case (just a guess)? Have you tried logging database calls? Do the right p

Multiple Parameters

2008-10-19 Thread Bruno Frascino
Hello, I have got: then my DAO does: Map paramM = new HashMap(); paramM.put("userId", userId); paramM.put("employeeId", employeeId); users = (List)this.getSqlMapClientTemplate().queryForList("findIt", paramM); My users list is not null, I don't get any error d

Reading from database using iBatis

2008-10-19 Thread Thomas Rene Vervik
Hello I am trying to insert the following statement using iBatis: insert into ARTICLE_EXTENDED_TEXT ( AET_ART_ID, AET_HEADING_TEXT, AET_PRODUCT_DESC_TEXT, AET_PRODUCT_DESC_URL )values( #artID#, #artHeadingText#, #artProductDescTe