cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r563883 - /cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conf/RuntimeLoadDelegate.java
Date Wed, 08 Aug 2007 13:53:50 GMT
Author: aadamchik
Date: Wed Aug  8 06:53:50 2007
New Revision: 563883

URL: http://svn.apache.org/viewvc?view=rev&rev=563883
Log:
CAY-843 Remove arbitrary reverse relationship mapping limitations 
(logging)

Modified:
    cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conf/RuntimeLoadDelegate.java

Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conf/RuntimeLoadDelegate.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conf/RuntimeLoadDelegate.java?view=diff&rev=563883&r1=563882&r2=563883
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conf/RuntimeLoadDelegate.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conf/RuntimeLoadDelegate.java
Wed Aug  8 06:53:50 2007
@@ -509,6 +509,11 @@
                         reverse.setName(makeUniqueRelationshipName(targetEntity));
                         reverse.setRuntime(true);
                         targetEntity.addRelationship(reverse);
+
+                        logger.info("added runtime complimentary DbRelationship from "
+                                + targetEntity.getName()
+                                + " to "
+                                + reverse.getTargetEntityName());
                     }
                 }
             }
@@ -536,6 +541,11 @@
                         reverse.setName(makeUniqueRelationshipName(targetEntity));
                         reverse.setRuntime(true);
                         targetEntity.addRelationship(reverse);
+                        
+                        logger.info("added runtime complimentary ObjRelationship from "
+                                + targetEntity.getName()
+                                + " to "
+                                + reverse.getTargetEntityName());
                     }
                 }
             }



Mime
View raw message