Index: topia-service/src/java/org/codelutin/topia/migration/kernel/DependenciesHelper.java diff -u topia-service/src/java/org/codelutin/topia/migration/kernel/DependenciesHelper.java:1.3 topia-service/src/java/org/codelutin/topia/migration/kernel/DependenciesHelper.java:1.4 --- topia-service/src/java/org/codelutin/topia/migration/kernel/DependenciesHelper.java:1.3 Fri Nov 2 15:23:00 2007 +++ topia-service/src/java/org/codelutin/topia/migration/kernel/DependenciesHelper.java Fri Nov 9 16:35:45 2007 @@ -48,9 +48,9 @@ * @author Chevallereau Benjamin * @author Eon Sébastien * @author Trève Vincent - * @version $Revision: 1.3 $ + * @version $Revision: 1.4 $ * - * Last update : $Date: 2007-11-02 15:23:00 $ + * Last update : $Date: 2007-11-09 16:35:45 $ */ public class DependenciesHelper { @@ -131,7 +131,7 @@ } PersistentClass clazz = configuration.getClassMapping(currentClass); - + // gestion de l'heritage if(clazz instanceof Subclass) { Subclass usb = (Subclass)clazz; @@ -158,6 +158,8 @@ if(propertyType.isAssociationType()) { String dependentClassName; + + // on recupere le nom de la classe dont depend la classe courante if(propertyType.isCollectionType()){ // @@ -170,11 +172,11 @@ dependentClassName = collectionType.getAssociatedEntityName(sfi); - logger.debug(clazz.getEntityName() +":"+ dependentClassName + " : aj :" + collectionType.getAssociatedJoinable(sfi).getName()); - logger.debug(clazz.getEntityName() +":"+ dependentClassName + " : ajic :" + collectionType.getAssociatedJoinable(sfi).isCollection()); - logger.debug(clazz.getEntityName() +":"+ dependentClassName + " : et :" + collectionType.getElementType(sfi).getName()); - logger.debug(clazz.getEntityName() +":"+ dependentClassName + " : et :" + collectionType.getForeignKeyDirection()); - logger.debug(""); + //logger.debug(clazz.getEntityName() +":"+ dependentClassName + " : aj :" + collectionType.getAssociatedJoinable(sfi).getName()); + //logger.debug(clazz.getEntityName() +":"+ dependentClassName + " : ajic :" + collectionType.getAssociatedJoinable(sfi).isCollection()); + //logger.debug(clazz.getEntityName() +":"+ dependentClassName + " : et :" + collectionType.getElementType(sfi).getName()); + //logger.debug(clazz.getEntityName() +":"+ dependentClassName + " : et :" + collectionType.getForeignKeyDirection()); + //logger.debug(""); } else { //