Re: choose and otherwise

2009-12-01 Thread jonte.eriksson
https://issues.apache.org/jira/browse/IBATIS-704 Clinton Begin wrote: Sounds like a bug... I'll have a look at it. Can you file a Jira ticket for this? Cheers, Clinton On Mon, Nov 30, 2009 at 11:24 AM, jonte.eriksson jonte.eriks...@gmail.comwrote: Hi, I've been trying out

IBATIS3: Is it possible to iterate over unnamed/single parameter?

2009-12-01 Thread Edvin Syse
I want to do a select where the parameter is a ListInteger: select id=byEntities resultType=Location resultMap=Location parameterType=List SELECT * FROM entity_location WHERE entity IN foreach item=item index=index collection=list open=( separator=, close=) #{item} /foreach

Re: IBATIS3: Is it possible to iterate over unnamed/single parameter?

2009-12-01 Thread Edvin Syse
Oups, my mistake: It does work with Lists just as advertised in the user guide, but it doesn't work with varargs, I had mistakenly sent in Integer... instead of ListInteger. -- Edvin Edvin Syse skrev: I want to do a select where the parameter is a ListInteger: select id=byEntities

Transactionality using ibatis

2009-12-01 Thread naveendutt
Hi All, I am using weblogic portal and for database insertion and all, ibatis. i am facing issues in how to make transactions using ibatis if i need to insert data on more than one tables [transaction include failure scenarios as well]. Could you please let me know how can I do that? is that

RE: Transactionality using ibatis

2009-12-01 Thread meindert
Hi Naveen, I'm using Spring to control the transaction on my (sql server) db I added to my spring.xml; Declaration (and jars); beans xmlns=http://www.springframework.org/schema/beans; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

IB3 Spring Integration

2009-12-01 Thread Zoran Avtarovski
I was wondering if anybody has done any work on spring integration for IB3. I had quick look and it¹s doesn¹t look like a trivial matter to migrate the code from 2 to 3. I notice that spring 3.1 has plans for IB3 support but that¹s still a way off. Ideally some level of support for 2.5 would be