Re: Tutorial Persistent Objects

From: Michael Gentry (mgentr..asslight.net)
Date: Mon Apr 19 2010 - 08:51:36 EDT

  • Next message: timk519: "Re: Tutorial Persistent Objects"

    When you downloaded Cayenne, there should've been a "tutorials"
    directory in the package. The source code for the tutorials is in
    that directory. I believe you are wanting "tutorial" and not the ROP
    ones.

    mrg

    On Mon, Apr 19, 2010 at 8:09 AM, Galia Yer <galiaye..ahoo.com> wrote:
    > Hi, to all!
    > I'm Maurizio, a newbie of Cayenne.
    > I'd like to explore Cayenne functionality, in order to include it in some projects.
    >
    > I'm following Getting Started tutorial descrived at:
    > http://cayenne.apache.org/doc30/tutorial.html
    >
    > I cannot go further to this page:
    > http://cayenne.apache.org/doc30/tutorial-persistent-objects.html
    > In Create New Objects session, I cannot see source code to include to the "main" method of the Main class.
    >
    > ____
    >
    > Create New Objects
    >
    > Now we'll create a bunch of objects and save them to the database. An object is created and registered with ObjectContext using "newObject" method. Objects must be registered with DataContext to be persisted and to allow setting relationships with other objects. Add this code to the "main" method of the Main class:
    > ____
    >
    > I'd like to ask of some one could give to me the souce code, in order to proceed with tuorial.
    >
    > Thank you very much for your help!
    >
    > Regards
    > Maurizio
    >
    >
    >
    >



    This archive was generated by hypermail 2.0.0 : Mon Apr 19 2010 - 08:52:42 EDT