Thanks Jeff.

On 11/6/06, Jeff Butler <[EMAIL PROTECTED]> wrote:
Sort of - we didn't support nested <iterate> tags before version 2.2.0.  If
you need to stick with an older version of iBATIS, then regenerate your
objects with Abator - but specify generatorSet="Legacy" on your
<abatorContext>.

Jeff Butler


On 11/6/06, Nereida <[EMAIL PROTECTED]> wrote:
> Thanks Jeff
> Is it a bug of previous versions?
>
>
>
> On 11/6/06, Jeff Butler < [EMAIL PROTECTED]> wrote:
> > Upgrade to iBATIS version 2.2.0.
> >
> > Jeff Butler
> >
> >
> >
> >
> > On 11/6/06, Nereida <[EMAIL PROTECTED] > wrote:
> > > Hi all,
> > > i'm trying to get iBatis work with Abator.
> > > I'm able to selct, update and delete by primary key but in get an
> > > error when i try to select by example:
> > >
> > >        TaskExample te = new TaskExample();
> > >        te.createCriteria().andStatoGreaterThan(new Integer(0));
> > >        List al = new ArrayList();
> > >        al = tdao.selectByExample (te);
> > >
> > > Am i doing sth. wrong?
> > > I get the following error:
> > >
> > > Caused by: java.lang.NumberFormatException: For input string: ""
> > >        at
> >
com.ibatis.common.beans.BaseProbe.getIndexedProperty(BaseProbe.java
> > :86)
> > >        at
> >
com.ibatis.common.beans.ComplexBeanProbe.getProperty(ComplexBeanProbe.java:297)
> > >        at
> >
com.ibatis.common.beans.ComplexBeanProbe.getObject(ComplexBeanProbe.java:188)
> > >        at
com.ibatis.common.beans.GenericProbe.getObject
> > (GenericProbe.java:76)
> > >        at
> >
com.ibatis.sqlmap.engine.mapping.sql.dynamic.elements.IterateTagHandler.doStartFragment
(IterateTagHandler.java:34)
> > >        at
> >
com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql.processBodyChildren
> > (DynamicSql.java:157)
> > >
> > > ... 24 more
> > >
> > >
> > >
> > > --
> > > Se diventi milionario ricordati degli amici...
> > > SuperEnalotto online:
> > http://ad.zanox.com/ppc/?3481898C816095969T
> > >
> >
> >
>
>
> --
> Se diventi milionario ricordati degli amici...
> SuperEnalotto online:
http://ad.zanox.com/ppc/?3481898C816095969T
>




--
Se diventi milionario ricordati degli amici...
SuperEnalotto online: http://ad.zanox.com/ppc/?3481898C816095969T

Reply via email to