From: Chris M. <cm...@us...> - 2006-10-18 12:30:46
|
User: cmicali Date: 06/10/18 05:30:45 Modified: andromda-nhibernate/src/main/resources/templates/nhibernate nhibernate.hbm.xml.vm Log: - Fix for [NETCART-14] Revision Changes Path 1.2 +1 -1 cartridges/andromda-nhibernate/src/main/resources/templates/nhibernate/nhibernate.hbm.xml.vm Index: nhibernate.hbm.xml.vm =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-nhibernate/src/main/resources/templates/nhibernate/nhibernate.hbm.xml.vm,v retrieving revision 1.1 retrieving revision 1.2 diff -u -w -r1.1 -r1.2 --- nhibernate.hbm.xml.vm 8 Mar 2006 04:15:24 -0000 1.1 +++ nhibernate.hbm.xml.vm 18 Oct 2006 12:30:44 -0000 1.2 @@ -5,7 +5,7 @@ #macro (renderPropertiesAndAssociations $entity $paramSqlPrefix) ## **** Generate attributes **** #foreach ($attribute in $entity.attributes) -#if (!$attribute.identifier) +#if (!$attribute.identifier && !$attribute.transient) #set ($fullyQualifiedPropertyType = $attribute.type.fullyQualifiedHibernateType) #if ($attribute.type.enumeration) #set ($fullyQualifiedPropertyType = "$attribute.type.fullyQualifiedHibernateType, ${commonAssemblyName}") |