Re: [CONF] Apache Cayenne Documentation > Modeling Embeddables

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Tue Dec 29 2009 - 04:17:16 EST

  • Next message: Andrus Adamchik: "Re: [jira] Closed: (CAY-1351) EntityResolver.getEmbeddable(...) always returns null"

    They are POJOs. There's no common superclass or interface required as
    all communication with framework happens via the owning object.

    Andrus

    On Dec 29, 2009, at 11:10 AM, Andrey Razumovsky wrote:

    > Also, can embeddables be just POJOs? If not, maybe we mark them with
    > some
    > interface?
    >
    > 2009/12/29 Andrey Razumovsky <razumovsky.andre..mail.com>
    >
    >> Just started to play with embeddables. I mapped one as shown in
    >> this guide,
    >> but then at class generation classes with embeddables are not
    >> checked by
    >> default and I see warning "attribute.name" contains invalid
    >> character: .
    >> near them
    >> What is that? As far as I can tell, if checked manually, classes get
    >> generated correctly
    >>
    >
    >
    >
    > --
    > Andrey



    This archive was generated by hypermail 2.0.0 : Tue Dec 29 2009 - 04:17:53 EST