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 2007/12/23 16:44:26 UTC

svn commit: r606565 - /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/resources/dotemplates/v1_2/superclass.vm

Author: aadamchik
Date: Sun Dec 23 07:44:26 2007
New Revision: 606565

URL: http://svn.apache.org/viewvc?rev=606565&view=rev
Log:
under certain circumstances null collection type results in invalid class generation results... fixing velocity expression

Modified:
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/resources/dotemplates/v1_2/superclass.vm

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/resources/dotemplates/v1_2/superclass.vm
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/resources/dotemplates/v1_2/superclass.vm?rev=606565&r1=606564&r2=606565&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/resources/dotemplates/v1_2/superclass.vm (original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/resources/dotemplates/v1_2/superclass.vm Sun Dec 23 07:44:26 2007
@@ -40,7 +40,7 @@
 #end
 #foreach( $rel in ${object.DeclaredRelationships} )
 $importUtils.addType(${rel.TargetEntity.ClassName})##
-$importUtils.addType(${rel.CollectionType})##
+${importUtils.addType($rel.CollectionType)}##
 #end
 ${importUtils.generate()}