Menu

retrieveAutomatic="true", what level?

2004-11-23
2013-03-07
  • André Ribeiro

    André Ribeiro - 2004-11-23

    Hi, when I put this value on the "association" tag at xml, the framework retrieves recursive objects?

    Example:
    I have a class CContrato which has a collection CContratoEmpresa which has CEmpresa as attribute. The framework  only retrieves the CContrato and the collection of CContratoEmpresa ? It didn't retrieves the CEmpresa attribute as CContratoEmpresa?

    Thank you,
    Andr Ribeiro from Brazil.

     
    • Richard Banks

      Richard Banks - 2004-12-02

      Hi Andre

      RetrieveAutomatic will only retrieve for the association against which it is declared.

      If you have an association from CContratoEmpresa to CEmpresa as well, and you also mark that with RetrieveAutomatic then all associations will be processed as you expect.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.