Cool! Glad to hear that helped... Issues resulting from users forgetting to check "To Dep PK" come up pretty often. I wonder if we can make Cayenne smarter in the backend to at least report potential problems as a modeler warning or something.

Andrus

On Jul 15, 2008, at 8:27 PM, Laurent Marchal wrote:

Nice this solve the problem !

Sorry to bother you with that, and thanks a lot.
It's a little bit complicated to understand what do Cayenne internally, but luckylly you were there.

Laurent.

Andrus Adamchik wrote:
Could you check the "To Dep PK" checkbox for this relationship and see if that makes a difference.

Andrus


On Jul 15, 2008, at 6:43 PM, Laurent Marchal wrote:
<db-relationship name="toMasterScheduleAux" source="SNAME" target="SNAME_AUX" toMany="true">
     <db-attribute-pair source="SKDID" target="SKDID"/>
 </db-relationship>






Reply via email to