cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aristedes Maniatis <>
Subject validation of related records
Date Fri, 28 Jan 2011 06:29:21 GMT
When you make a change to a relation, Cayenne validates the records at both ends of the relation
in total. So for example, creating a new Painting and relating it to an Artist will cause
the Artist validation to fire, even though no database columns in Artist were modified.

The validation seems to fire across one relation, but not two, even if there is a flattened
relationship in between.

This is causing problems for us. What is the possibility that this could be disabled: perhaps
a flag per relation or per entity or even across the entire context or datamap.


Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A

View raw message