cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r1404791 - /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/DataDomainQueryAction.java
Date Thu, 01 Nov 2012 21:57:12 GMT
Author: aadamchik
Date: Thu Nov  1 21:57:12 2012
New Revision: 1404791

URL: http://svn.apache.org/viewvc?rev=1404791&view=rev
Log:
CAY-1755 FaultFailureException resolving relationships to UNIQUE non-PK columns

Modified:
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/DataDomainQueryAction.java

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/DataDomainQueryAction.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/DataDomainQueryAction.java?rev=1404791&r1=1404790&r2=1404791&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/DataDomainQueryAction.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/DataDomainQueryAction.java
Thu Nov  1 21:57:12 2012
@@ -204,7 +204,7 @@ class DataDomainQueryAction implements Q
             // we previously checked that "!isSourceIndependentFromTargetChange"
             DbRelationship dbRelationship = relationship.getDbRelationships().get(0);
             
-            // FK pointing to a unique field that is a 'fake' PK (CAY-1751)...
+            // FK pointing to a unique field that is a 'fake' PK (CAY-1755)...
             // It is not sufficient to generate target ObjectId.
             DbEntity targetEntity = (DbEntity) dbRelationship.getTargetEntity();
             if (dbRelationship.getJoins().size() < targetEntity



Mime
View raw message