Index: topia/src/java/org/codelutin/topia/generators/commons/ObjectModelToApplicationContextGenerator.java diff -u topia/src/java/org/codelutin/topia/generators/commons/ObjectModelToApplicationContextGenerator.java:1.4 topia/src/java/org/codelutin/topia/generators/commons/ObjectModelToApplicationContextGenerator.java:1.5 --- topia/src/java/org/codelutin/topia/generators/commons/ObjectModelToApplicationContextGenerator.java:1.4 Mon Jun 21 09:51:17 2004 +++ topia/src/java/org/codelutin/topia/generators/commons/ObjectModelToApplicationContextGenerator.java Mon Jul 5 10:48:41 2004 @@ -23,10 +23,10 @@ * * @author Cédric Pineau * Copyright Code Lutin - * @version $Revision: 1.4 $ + * @version $Revision: 1.5 $ * - * Last update : $Date: 2004/06/21 09:51:17 $ - * by : $Author: bpoussin $ + * Last update : $Date: 2004/07/05 10:48:41 $ + * by : $Author: pineau $ */ package org.codelutin.topia.generators.commons; @@ -65,6 +65,7 @@ if(! Util.isEntity(classifier)) continue; /*{ import <%=Util.getParentPackageName(classifier.getPackageName())%>.services.<%=classifier.getName()%>PersistenceService; +import <%=Util.getParentPackageName(classifier.getPackageName())%>.entities.<%=classifier.getName()%>; }*/ } /*{ @@ -83,7 +84,7 @@ /*{ public <%=classifier.getName()%>PersistenceService get<%=classifier.getName()%>PersistenceService() throws TopiaException { - return (<%=classifier.getName()%>PersistenceService) getPersistenceService(<%=classifier.getName()%>PersistenceService.class); + return (<%=classifier.getName()%>PersistenceService) getPersistenceService(<%=classifier.getName()%>.class); } }*/ }