Re: Question: can Cayenne generate the DAO classes by modeler?

From: Mike Kienenberger (mkienen..mail.com)
Date: Thu Aug 20 2009 - 13:00:57 EDT

  • Next message: Nishant Neeraj: "many-to-many relationship does not work in Cayenne."

    You can use the Cayenne generator to generate pretty much anything.

    In the past, I've set up templates that generated entire applications
    (including the DAOs) from the model.

    The templating language is Velocity.

     http://velocity.apache.org/

    2009/8/20 xiaoxin xiaoxin <fxfx_00..otmail.com>:
    >
    >
    > Hi guys,
    >
    > I am new to Cayenne and just had a look at the cayenne-petstore example codes. I found there are some DAO classes in its project.
    >
    > So my question is that if these DAO classes are generated by Cayenne Modeler? If yes, how?
    >
    > Besides, does the document of Cayenne provide the content about Cayenne's best practice . I mean the API part.
    >
    > Thanks!
    >
    >
    > _________________________________________________________________
    > Share your memories online with anyone you want.
    > http://www.microsoft.com/middleeast/windows/windowslive/products/photos-share.aspx?tab=1



    This archive was generated by hypermail 2.0.0 : Thu Aug 20 2009 - 13:01:56 EDT