From: Eric C. <ecr...@us...> - 2006-03-25 03:45:14
|
User: ecrutchfield Date: 06/03/24 19:45:12 Modified: andromda-nspring/src/main/resources/templates/nspring NSpringDaoFactory.vsl Log: fixes problem where compiling fails because the Dao's are not referenced using the full namespace. Revision Changes Path 1.2 +4 -5 cartridges/andromda-nspring/src/main/resources/templates/nspring/NSpringDaoFactory.vsl Index: NSpringDaoFactory.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-nspring/src/main/resources/templates/nspring/NSpringDaoFactory.vsl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -w -r1.1 -r1.2 --- NSpringDaoFactory.vsl 8 Mar 2006 04:18:42 -0000 1.1 +++ NSpringDaoFactory.vsl 25 Mar 2006 03:45:12 -0000 1.2 @@ -21,14 +21,13 @@ public class DaoFactory { #foreach($entity in $entities) - private static I${entity.entityName}Dao ${entity.entityName}Dao = null; -#end -#foreach($entity in $entities) - public static I${entity.entityName}Dao Get${entity.entityName}Dao() + private static ${entity.packageName}.I${entity.entityName}Dao ${entity.entityName}Dao = null; + + public static ${entity.packageName}.I${entity.entityName}Dao Get${entity.entityName}Dao() { if (${entity.entityName}Dao == null) - ${entity.entityName}Dao = new ${entity.entityName}DaoImpl(); + ${entity.entityName}Dao = new ${entity.packageName}.${entity.entityName}DaoImpl(); return ${entity.entityName}Dao; } |