Salome HOME
Document id generation is fixed. Document index is updated in the database now.
[tools/siman.git] / Workspace / Siman-Common / src / org / splat / service / StudyServiceImpl.java
index 7fe60146e84a4838997fdafc15a7c4958e985586..aa84a0b13249c6e3fe17aa4df3b6bb955126f512 100644 (file)
@@ -398,7 +398,6 @@ public class StudyServiceImpl implements StudyService {
        @Transactional
        public int generateLocalIndex(final Study aStudy) {
                aStudy.setLastLocalIndex(aStudy.getLastLocalIndex() + 1);
-               getStudyDAO().update(aStudy);
                return aStudy.getLastLocalIndex();
        }