Sorry, I've just checked that for myself.  I presumed the JDBC interface
would be very similar to the Collections heirarchy.  But it's not.

My apologies!

Mike Creed

----- Original Message -----
From: "Terje Hermanseter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 15, 2001 12:19 PM
Subject: Re: NullPointerException


> >   Noticias temp = new Noticias();
> >  temp=null;
> >  temp.setCod_noticia(rs.getFloat("cod_noticias"));
>
> Drop the temp=null line and it should work fine afterwards.
>
> Terje Hermanseter
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to