Re: Working with Transient Objects

From: Elia Morling (eli..amiljen.se)
Date: Wed Jun 30 2004 - 03:20:18 EDT

  • Next message: Jürgen Saar: "templates for class generator"

    I'm quite sure that won't work for me. I need the Objects to behave
    identically needless of if they should be persistant or not. I was hoping
    for a flag in the DataObject that simply indicates if it should persist or
    not.

    Elia

    ----- Original Message -----
    From: "Jürgen Saar" <jsaa..eb.de>
    To: <cayenne-use..bjectstyle.org>; "Elia Morling" <elia@familjen.se>
    Sent: Wednesday, June 30, 2004 8:35 AM
    Subject: Re: Working with Transient Objects

    > I haven't tried it jet, but how about attributes in the Object-Entity
    > that don't exist in the DB-Entity. The modeler should allow this,
    > but I didn't test ist yet.
    >
    > "Elia Morling" <eli..amiljen.se> schrieb am 29.06.04 23:29:10:
    > >
    > > Ok. I see from the exception that objects need to be created within
    > > the same DataContext to work together. How do I add make a
    > > temporary object exist with a DataContext without having it create
    > > a new field in the database? I can't see any PersistenceStates that
    > > would do the trick...
    > >
    > > Elia
    >
    >
    > ____________________________________________________
    > Aufnehmen, abschicken, nah sein - So einfach ist
    > WEB.DE Video-Mail: http://freemail.web.de/?mc=021200
    >
    >
    >



    This archive was generated by hypermail 2.0.0 : Wed Jun 30 2004 - 03:20:17 EDT