Re: Re[3]: ROP: validation and callbacks

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed Feb 27 2008 - 12:48:18 EST

  • Next message: Malcolm Edgar: "Re: on hibernate vs. cayenne"

    Agreed, totally makes sense. Could you please open a feature request
    in Jira:

    http://issues.apache.org/cayenne/

    Thanks,
    Andrus

    On Feb 27, 2008, at 7:27 PM, Razumovsky Andrey wrote:

    > I've found the answer: it turns out that client 'ObjAttribute'
    > descendant, 'ClientObjAttribute' needed validation information. I
    > think it is a good idea to make those 'isMandatory' and
    > 'getMaxLength' methods members of 'ObjAttribute' so that the same
    > validation code would work on client and server (server's objattrs
    > will reference to DbAttribute). How do you think?)
    >



    This archive was generated by hypermail 2.0.0 : Wed Feb 27 2008 - 12:48:51 EST