ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Maves" <nathan.ma...@gmail.com>
Subject Re: Exception while setting properties
Date Mon, 14 Aug 2006 16:43:15 GMT
Eugeny that is why I asked what jdk you are using.  If you can run
java 1.5you will not have these issues.

nathan

On 8/14/06, Larry Meadors <lmeadors@apache.org> wrote:
>
> Ahh, yeah, you can't set an int to null, if the values can be null, they
> have to be Integer instead.
>
> Larry
>
>
> On 8/14/06, Eugeny N Dzhurinsky < bofh@redwerk.com> wrote:
>
> > On Mon, Aug 14, 2006 at 09:38:02AM -0600, Larry Meadors wrote:
> > >
> > >    The simplest solution is for you to make the setters for the
> > >    properties on com.project.Entity.Task not throw NPEs. ;-)
> >
> > The thing is I don't have methods whch are throwing MPEs. I found such
> > thing
> > happens when setProperty(int param) is invoked, but appropriate field in
> > database has null value.
> >
> > --
> > Eugene N Dzhurinsky
> >
>
>

Mime
View raw message