1 Reply Latest reply on Dec 21, 2004 3:38 AM by aloubyansky

    upgrading to CMR

    ghilling

      Hello,

      I just ran into a potential problem upgrading a "relation by hand"-CMP2-App to using CMR:
      Is it legal to use the foreign key fields for CMR and to update them by the application via "setXXX()"?
      What can happen? Can I prevent errors by setting commit-option to "B"/"C"?

      Sorry if this question has been asked before. I found no answer in the jboss-docs...

      Regards,

      -Gunnar

        • 1. Re: upgrading to CMR
          aloubyansky

          In fact, you can expose foreign key fields as CMP fields and modify them. The result should also be immediately reflected on the CMR value. But I would not recommend this approach. Why would you want to do that?