]> SALOME platform Git repositories - tools/siman.git/blobdiff - Workspace/Siman-Common/src/org/splat/dal/bo/som/Document.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 / Document.java
index 4f664c98b3684c2af9d98b3086aa31885721f61a..ec7fcb3c890709472d3ce06d753ca088794a8d5c 100644 (file)
@@ -571,7 +571,7 @@ public class Document extends Entity {
                                .uniqueResult();
        }
 
-       public static DocumentType selectType(int index) {
+       public static DocumentType selectType(long index) {
                // -------------------------------------------------
                String query = new StringBuffer("from DocumentType where rid='")
                                .append(index).append("'").toString();