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...
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?