]> SALOME platform Git repositories - tools/siman.git/blobdiff - Workspace/Siman-Common/src/org/splat/dal/bo/som/SimulationContextType.java
Salome HOME
Id now is Long instead of Integer. First unit test is created. hibernate-3.5.jar...
[tools/siman.git] / Workspace / Siman-Common / src / org / splat / dal / bo / som / SimulationContextType.java
index c7b587cac91a6f6bc96c783fa805ba6e197b0ba5..881d086a9bbb732157785ae64ea0191d5992f46b 100644 (file)
@@ -82,8 +82,8 @@ public class SimulationContextType extends Persistent implements Serializable {
       } else
       if (entity instanceof SimulationContextType) {
          SimulationContextType object = (SimulationContextType)entity;
-        int   he = object.getIndex();
-        int   me = this.getIndex();
+        long   he = object.getIndex();
+        long   me = this.getIndex();
         if (me*he != 0) return (he == me);
         else            return this.getName().equals(object.getName());
       } else {