One trick with this: it is a good temporary fix, but not something I
think we'll do in the project because it is tough to remember to
manually change it each time the fields (or the data structure in
general of the class) change.
-David
On Aug 8, 2006, at 3:36 PM, Brett Palmer wrote:
> FYI,
>
> Another quick fix to the RMI serialization problem is to explicitly
> define the serialization constant, serialVersionUI. Then it doesn't
> matter if the code was compiled outside of eclipse (i.e. Ant for
> ofbiz) or inside eclipse for your RMI test client.
>
> For example:
>
> private static final long serialVersionUID = -6978458356505526156L;
>
> This may be impractical to do for every serializable class in ofbiz
> but it does work on a case by case basis.
>
>
>
> Brett