Migrate from GitHub to SourceForge with this tool. Check out all of SourceForge's recent improvements.
Close

#28 Serializable collections

v2.0_Beta
closed-fixed
Core (19)
5
2003-11-26
2003-11-12
Jeff Brown
No

Should com.triactive.jdo.sco.Set and com.triactive.jdo.
sco.Map (possibly other SCOs) implement java.io.
Serializable? As it is, they do not and I am getting
NotSerializableExceptions thrown when I try to serialize a
[T]JDO instance that has a persistent Set field (I have
made the instance transient before serializing...).

Incidentally, declaring a field to be of type HashSet
instead of Set looks like it makes this issue go away.

Discussion

  • Mike Martin

    Mike Martin - 2003-11-26
    • status: open --> closed
     
  • Mike Martin

    Mike Martin - 2003-11-26
    • assigned_to: nobody --> jackknifebarber
    • status: closed --> closed-fixed
     
  • Mike Martin

    Mike Martin - 2003-11-26

    Logged In: YES
    user_id=582193

    Fixed. All SCO wrapper classes have been made
    Serializable. Deserializing an object with SCO fields
    produces normal "unwrapped" values in those fields.

    Mike

     

Log in to post a comment.