Index: topia/src/java/org/codelutin/topia/persistence/TopiaPersistenceProxy.java diff -u topia/src/java/org/codelutin/topia/persistence/TopiaPersistenceProxy.java:1.12 topia/src/java/org/codelutin/topia/persistence/TopiaPersistenceProxy.java:1.13 --- topia/src/java/org/codelutin/topia/persistence/TopiaPersistenceProxy.java:1.12 Wed Sep 7 15:34:59 2005 +++ topia/src/java/org/codelutin/topia/persistence/TopiaPersistenceProxy.java Thu Sep 15 13:01:53 2005 @@ -23,10 +23,10 @@ * Created: 16 juillet 2005 23:52:35 CEST * * @author Benjamin POUSSIN -* @version $Revision: 1.12 $ +* @version $Revision: 1.13 $ * -* Last update: $Date: 2005/09/07 15:34:59 $ -* by : $Author: bpoussin $ +* Last update: $Date: 2005/09/15 13:01:53 $ +* by : $Author: thimel $ */ package org.codelutin.topia.persistence; @@ -476,7 +476,7 @@ return toString(entity, method); }else if(methodName.equals("hashCode") && method.getParameterTypes().length == 0){ - return toString(entity, method).hashCode(); + return entity.get_topiaId_().hashCode(); } else if(methodName.equals("equals") && method.getParameterTypes().length == 1){ return equals(entity, method, args[0]);