You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by aa...@apache.org on 2012/11/01 23:00:13 UTC
svn commit: r1404795 -
/cayenne/main/branches/STABLE-3.1/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/DataDomainQueryAction.java
Author: aadamchik
Date: Thu Nov 1 22:00:13 2012
New Revision: 1404795
URL: http://svn.apache.org/viewvc?rev=1404795&view=rev
Log:
CAY-1755 FaultFailureException resolving relationships to UNIQUE non-PK columns
(cherry picked from commit 7691fd630b1a44eb18247ff45c794254cdb6cc01)
Modified:
cayenne/main/branches/STABLE-3.1/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/DataDomainQueryAction.java
Modified: cayenne/main/branches/STABLE-3.1/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/DataDomainQueryAction.java
URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-3.1/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/DataDomainQueryAction.java?rev=1404795&r1=1404794&r2=1404795&view=diff
==============================================================================
--- cayenne/main/branches/STABLE-3.1/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/DataDomainQueryAction.java (original)
+++ cayenne/main/branches/STABLE-3.1/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/DataDomainQueryAction.java Thu Nov 1 22:00:13 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