Re: Serialization of DataContext

From: Andrus (andru..bjectstyle.org)
Date: Fri Sep 13 2002 - 01:01:32 EDT

  • Next message: Andrus: "[ANN] 1.0a3-1 released [Was: Nasty GUI bug in Alpha 3]"

    Hi Craig,

    Thanks a lot for the patch and for the research you've done. I will take a
    look at the whole issue over the weekend.

    ;-)

    Andrus

    At 04:34 PM 9/13/2002 +1200, Craig Miskell wrote:
    >Subsequent to my ramblings on the user list, attached is a cvs diff of
    >changes that add Serialization ability to DataContext. If the parent of
    >the DataContext is a DataDomain, it serializes the name of the domain,
    >rather than the DataDomain. If the parent is other than a DataDomain, it
    >just hopes that the parent is Serializable, so it'll work for simple cases
    >at least.
    >
    >Also required is to add "implements Serializable" to
    >org.objectstyle.cayenne.access.ToManyList and
    >org.objectstyle.cayenne.ObjectID
    >but I couldn't quite be bothered putting together patch files for those
    >two :-)
    >
    >On with the battles
    >
    >Craig Miskell
    >Programmer, Black Albatross, Otago University, New Zealand
    >-----BEGIN GEEK CODE BLOCK-----
    >Version: 3.1
    >GCS d- s+:- a-->? C++++(++)$ ULXH+++$>++++ P+>++++ L++$>++++$ E--- W+++$
    >N+ K? w--- !O M-- V? PS--- PE Y t++ 5 X+++ R-- tv+ b+>+++ DI++++ D+ G+ e++
    >h--- r+++ y+++
    >------END GEEK CODE BLOCK------



    This archive was generated by hypermail 2.0.0 : Fri Sep 13 2002 - 01:01:05 EDT