Thanks, I will have a look... but toomorow.
Herv�
----- Original Message -----
From: Leon Messerschmidt <[EMAIL PROTECTED]>
To: Turbine <[EMAIL PROTECTED]>
Sent: Thursday, August 31, 2000 8:42 AM
Subject: Re: User perm storage doesn't save !!!??? (Cannot retrieve...)
>
> >> In fact, I add an HashTable (containing other hashtable) in the Perm
and
> I
> >> save it directly after adding.
> >> I change the getUserFormSession to getUser but always the same problem.
> >>
> >> It seems that the saving is all right.
> >> But when I retieve the perm from storage, the perm contains all the
> objects
> >> it had but not mine.
> >> I get step by step in the TurbineUser.saveToStorage() code and
everything
> >> seems ok.
> >>
> >> May the problem comming from the fact that I had an hashtable and not a
> >> string, integer, ... ??
> >>
> >> Any idea ??
> >
> >Hmm, you could try using a class that subclasses Hashtable and
> >implements Serializable. Perhaps a Serializable object can't serialize
> >Objects that don't implement the Serializable interface (but can handle
> >primitives)?
> >--
>
> Hashtable does definitely implement Serializable. However all the key
_and_
> value objects you add to the Hashtable must implement Serializable for it
to
> work. If you add a Hashtable to a Hashtable that is fine, but all the
> objects contained in the original Hashtable must be Serializable.
>
> ~ Leon
>
>
>
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
>
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]