Eclipse error when running Ibator

2010-03-25 Thread Morearty, Brian
Hi, My team has 3 developers. One of us is having the following problem. The other two of us are not. Does anyone have ideas for how to fix this? We are using Ibator 1.2.2. Right-click on IbatorConfig.xml and choose "Generate iBATIS Artifacts." Progress bar goes part-way, then shows this er

Re: return simple String[] or List

2010-03-25 Thread Guy Rouillier
Sure, that will work, but what is the point? That result map doesn't really buy you anything. Why not just specify a resultType in your select instead of a resultMap? On 3/25/2010 7:43 AM, Tomáš Procházka wrote: I found solution i have this in xml mapping file SELECT domain

MSSQL, schema migrations format issue

2010-03-25 Thread chris oberle
Hello, I have a keen interest in using Ibatis Schema MIgrations but am having an issue and am hoping someone can tell me if there is anything I can do about it. For some reason, when I use the system to define my stored procedures and views, the text formatting is not preserved. In other words,

iBatis isEqual and Select

2010-03-25 Thread kiran vuppla
Hi, I would appreciate if someone can let me know the following: 1. Can we able to get the dynamicId for statement from Properties file? 2. Can we read the "property" attribute value for from properties file instead Parameter? Similar to ${ } usage that we do inside the sql statement. Tha

Re: return simple String[] or List

2010-03-25 Thread Tomáš Procházka
I found solution i have this in xml mapping file SELECT domain FROM queue WHERE ended IS NULL GROUP BY domain and this in Mapper class List selectAvailableDomains(); and it works __ > Od: "Guy Rouillier" > Komu: user-ja

Re: IBatis 3.0 beta 10 + annotations + stored procedures

2010-03-25 Thread Arpon
Thanks, the answers were very helpful! =) Oh I didn't even notice, but your parameter is a String, which is immutable. You'd have to pass the parameter in as a Map or a POJO. Since Java doesn't support pass by reference, or out parameters, or mutable strings, there's no way around this. C

Re: return simple String[] or List

2010-03-25 Thread Ingmar Lötzsch
Class String is in package java.lang. - To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org For additional commands, e-mail: user-java-h...@ibatis.apache.org