Re: Cayenne POJO inheritance

From: Gilberto C. Andrade (gilbertoc..mail.com)
Date: Mon Aug 17 2009 - 08:39:15 EDT

  • Next message: Mike Kienenberger: "Re: Problem with Database Generated IDs and Firebird"

    On Sun, Aug 16, 2009 at 3:21 AM, Aristedes Maniatis<ar..aniatis.org> wrote:
    > On 15/08/09 5:41 AM, Gilberto C. Andrade wrote:
    >>
    >> Ok, after a good read on [1] and [2], I could understand that what I
    >> want to do [3], right now, is not implemented in cayenne.  Cayenne
    >> only supply table-per-class-hierarchy feature.
    >> Is that right?
    >>
    >> Gilberto
    >>
    >> [1]http://cayenne.apache.org/doc/inheritance-overview.html
    >> [2]http://cayenne.apache.org/doc/modeling-inheritance.html
    >> [3]http://edocs.bea.com/kodo/docs324/img/inheritance-vertical.png
    >
    > Horizontal inheritance is also implemented now (3.0M6). However, you should
    > watch the jira task [4] to see when vertical inheritance is being worked on.

    Thanks, I will!

    > In the short term, you may be able to implement what you need using the
    > other two ways to model inheritance; for the most part, your Java code will
    > not change when you change your database implementation of how the
    > inheritance is represented.

    Most of the time you can't change the database, but thanks God it
    isn't my problem right now.
    I'm doing a simple guide on how to develop - in Brazilian Portuguese
    language - with apache cayenne and click projects, I will use this one
    [1], developed with Delphi written by Adail Muniz Retamal, as
    reference.
    I want to say that I found some difficulty with cayenne
    documentation, most of the time I wasted looking for the information I
    wanted. This article is a valid cayenne reference [2]? It seems
    outdated! I've found it very simple and comprehensive. It could be a
    fault from myself , not knowing or understanding the general cayenne
    documentation idea. Or I was contaminated by the simplicity of click
    documentation [3].

    Thankful for your attention,

    Gilberto

    [1] http://edn.embarcadero.com/article/33740
    [2] http://www.theserverside.com/tt/articles/article.tss?l=Cayenne
    [3] http://incubator.apache.org/click/docs/user-guide.html|http://incubator.apache.org/click/docs/quick-start.html

    >
    >
    > Ari Maniatis
    >
    >
    >
    > [4] https://issues.apache.org/jira/browse/CAY-1090
    >
    > -------------------------->
    > Aristedes Maniatis
    > GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A
    >



    This archive was generated by hypermail 2.0.0 : Mon Aug 17 2009 - 08:39:54 EDT