[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Modifying classes
> > It is very important to define a static member for each db class that
> looks
> > like that:
> >
> > public final static long serialVersionUID = 1;
> >
> > This version id is used by the Java serialization to determine if a stored
> > object is compatible with the current class description. For more
> information
> > about it you should read the Java Manual - section 'serialization'.
>
> Thanks.
>
> Can I suggest you add this to the samples included with the distribution, I
> was basing my code on that, so it might save newcomers a little grief.
Already done ... :-)
Regards
Gerd
--
________________________________________________________________
Gerd Mueller gerd@softwarebuero.de
softwarebuero m&b http://www.softwarebuero.de