ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nereida <nereidahox...@gmail.com>
Subject Re: NumberFormatException: For input string: ""
Date Mon, 06 Nov 2006 14:25:11 GMT
Thanks Jeff
Is it a bug of previous versions?



On 11/6/06, Jeff Butler <jeffgbutler@gmail.com> wrote:
> Upgrade to iBATIS version 2.2.0.
>
> Jeff Butler
>
>
>
>
> On 11/6/06, Nereida <nereidahoxhaj@gmail.com> 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

Mime
View raw message