Re: Not use Cayenne's object validation

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Thu Jan 06 2005 - 09:59:54 EST

  • Next message: Gentry, Michael \(Contractor\): "RE: PK generation with rich clients ..."

    Hi there,

    If you don't want validate* methods to be called at all, you can switch it
    off in the Modeler. Select a DataDomain and uncheck "Child DataContexts
    Vaidate Objects" checkbox (better label text anyone?)

    http://objectstyle.org/cayenne/modelerguide/configure-deployment/configure-validation.html

    Andrus

    > I'm not really sure, but I think the validation methods
    > are protected or even public.
    > So you can create your own DataObject
    > derived from CayenneDataObject with
    > your own validation methods.
    >
    > ... but ...
    > why do you want this?
    >
    > Joaquin Arias Buendia <joaqinbuendiaforu..ahoo.es> schrieb am 05.01.05
    > 13:56:36:
    >>
    >> Hi everybody and happy new year!!
    >>
    >> Is there any way to not use cayenne's object
    >> validation?
    >>
    >> Thank you very much!!!
    >
    >
    > ________________________________________________________________
    > Verschicken Sie romantische, coole und witzige Bilder per SMS!
    > Jetzt neu bei WEB.DE FreeMail: http://freemail.web.de/?mc=021193



    This archive was generated by hypermail 2.0.0 : Thu Jan 06 2005 - 09:59:56 EST