If you are trying to insert a NULL into a NOT NULL column (or are
trying to insert special chars or the String is too long), you should
get a SQLException, not a NullPointerException. 

You should recheck that you are actually getting a valid Connection



--- Eddie Bush <[EMAIL PROTECTED]> wrote:
> There are also no nulls in that column.
> 
> ----- Original Message -----
> From: "Eddie Bush" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> Sent: Tuesday, June 18, 2002 8:09 AM
> Subject: Re: Null Pointer Exception - would you please take a look?
> 
> 
> >
> > ----- Original Message -----
> > From: "John Gregg" <[EMAIL PROTECTED]>
> >
> >
> > > Is the String you're setting null?  I can't say how your driver
> handles
> > that
> > > case, but maybe it doesn't like it.  The jdk javadocs don't
> mention it.
> > Is
> > > the String too big for the column, does it have weird characters
> in it?
> > If
> >
> > There are no special characters in that  field, although I never
> imagined
> > that the field size might cause a problem.  I will check that.
> >
> > Thank You!
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to