Index: core-module/pom.xml
===================================================================
diff -u -rad9c714b7989bb9fee2191b406ad97de2b80180a -r937b1f8b897c2a70f048df1aae5e2697ae0348a2
--- core-module/pom.xml (.../pom.xml) (revision ad9c714b7989bb9fee2191b406ad97de2b80180a)
+++ core-module/pom.xml (.../pom.xml) (revision 937b1f8b897c2a70f048df1aae5e2697ae0348a2)
@@ -7,7 +7,7 @@
313devgrp
java-service-tree-framework-core-library
- 22.12.25
+ 22.12.26
../pom.xml
@@ -31,7 +31,7 @@
313devgrp
lib-module
- 22.12.25
+ 22.12.26
pom
Index: core-module/src/main/java/egovframework/com/ext/jstree/springHibernate/core/dao/JsTreeHibernateAbstractDao.java
===================================================================
diff -u -rad9c714b7989bb9fee2191b406ad97de2b80180a -r937b1f8b897c2a70f048df1aae5e2697ae0348a2
--- core-module/src/main/java/egovframework/com/ext/jstree/springHibernate/core/dao/JsTreeHibernateAbstractDao.java (.../JsTreeHibernateAbstractDao.java) (revision ad9c714b7989bb9fee2191b406ad97de2b80180a)
+++ core-module/src/main/java/egovframework/com/ext/jstree/springHibernate/core/dao/JsTreeHibernateAbstractDao.java (.../JsTreeHibernateAbstractDao.java) (revision 937b1f8b897c2a70f048df1aae5e2697ae0348a2)
@@ -380,10 +380,6 @@
return getHibernateTemplate().bulkUpdate(queryString, value);
}
- public void flush() {
- getHibernateTemplate().flush();
- }
-
public void delete(T persistentObject) {
getHibernateTemplate().delete(persistentObject);
}
@@ -412,19 +408,6 @@
session.close();
}
- public void saveUsingSession(Session session,T entity) {
- session.setCacheMode(CacheMode.IGNORE);
- Transaction tx = session.beginTransaction();
-
- session.save(entity);
-
- session.flush();
- session.clear();
-
- tx.commit();
- session.close();
- }
-
public T excute(HibernateCallback callback) {
return getHibernateTemplate().execute(callback);
}
Index: core-module/src/main/java/egovframework/com/ext/jstree/springHibernate/core/dao/JsTreeHibernateDao.java
===================================================================
diff -u -rad9c714b7989bb9fee2191b406ad97de2b80180a -r937b1f8b897c2a70f048df1aae5e2697ae0348a2
--- core-module/src/main/java/egovframework/com/ext/jstree/springHibernate/core/dao/JsTreeHibernateDao.java (.../JsTreeHibernateDao.java) (revision ad9c714b7989bb9fee2191b406ad97de2b80180a)
+++ core-module/src/main/java/egovframework/com/ext/jstree/springHibernate/core/dao/JsTreeHibernateDao.java (.../JsTreeHibernateDao.java) (revision 937b1f8b897c2a70f048df1aae5e2697ae0348a2)
@@ -56,7 +56,6 @@
public void delete(T persistentObject);
public void deleteAll(Collection entities);
public void bulkInsert(Collection entities);
- public void saveUsingSession(Session session, T entity);
public T excute(HibernateCallback callback);
public List search(Map parameterMap);
public ID insert(T entity);
Index: core-module/src/main/java/egovframework/com/ext/jstree/springHibernate/core/service/JsTreeHibernateServiceImpl.java
===================================================================
diff -u -rad9c714b7989bb9fee2191b406ad97de2b80180a -r937b1f8b897c2a70f048df1aae5e2697ae0348a2
--- core-module/src/main/java/egovframework/com/ext/jstree/springHibernate/core/service/JsTreeHibernateServiceImpl.java (.../JsTreeHibernateServiceImpl.java) (revision ad9c714b7989bb9fee2191b406ad97de2b80180a)
+++ core-module/src/main/java/egovframework/com/ext/jstree/springHibernate/core/service/JsTreeHibernateServiceImpl.java (.../JsTreeHibernateServiceImpl.java) (revision 937b1f8b897c2a70f048df1aae5e2697ae0348a2)
@@ -133,6 +133,7 @@
return jsTreeHibernateDTO;
}
+ @Transactional(rollbackFor = { Exception.class }, propagation = Propagation.REQUIRED)
public void stretchLeftRightForMyselfFromJstree(long spaceOfTargetNode,
long rightPositionFromNodeByRef, long copy, Collection c_idsByChildNodeFromNodeById,
T jsTreeHibernateDTO) throws Exception {
@@ -146,6 +147,7 @@
}
@SuppressWarnings("unchecked")
+ @Transactional(rollbackFor = { Exception.class }, propagation = Propagation.REQUIRED)
public void stretchRight(long spaceOfTargetNode,
long rightPositionFromNodeByRef, long copy, Collection c_idsByChildNodeFromNodeById,
DetachedCriteria detachedCriteria) {
@@ -172,6 +174,7 @@
}
@SuppressWarnings("unchecked")
+ @Transactional(rollbackFor = { Exception.class }, propagation = Propagation.REQUIRED)
public void stretchLeft(long spaceOfTargetNode,
long rightPositionFromNodeByRef, long copy, Collection c_idsByChildNodeFromNodeById,
DetachedCriteria detachedCriteria) {
@@ -465,6 +468,7 @@
}
@SuppressWarnings("unchecked")
+ @Transactional(rollbackFor = { Exception.class }, propagation = Propagation.REQUIRED)
public void enterMyselfFromJstree(long ref, long c_position, long c_id,
long idif, long ldif, Collection c_idsByChildNodeFromNodeById, T jsTreeHibernateDTO) throws Exception {
@@ -479,6 +483,7 @@
}
@SuppressWarnings("unchecked")
+ @Transactional(rollbackFor = { Exception.class }, propagation = Propagation.REQUIRED)
public void enterMyselfFixLeftRight(long idif, long ldif,
Collection c_idsByChildNodeFromNodeById, T jsTreeHibernateDTO) {
logger.debug("-----------------------enterMyselfFixLeftRight-----------------------");
@@ -502,6 +507,7 @@
}
@SuppressWarnings("unchecked")
+ @Transactional(rollbackFor = { Exception.class }, propagation = Propagation.REQUIRED)
public void fixPositionParentIdOfCopyNodes(long insertSeqResult,
long position, T jsTreeHibernateDTO) throws Exception {
@@ -555,6 +561,7 @@
}
@SuppressWarnings("unchecked")
+ @Transactional(rollbackFor = { Exception.class }, propagation = Propagation.REQUIRED)
public long pasteMyselfFromJstree(long ref, long idif,
long spaceOfTargetNode, long ldif, Collection c_idsByChildNodeFromNodeById,
long rightPositionFromNodeByRef, T nodeById) throws Exception {
@@ -615,6 +622,7 @@
}
@SuppressWarnings("unchecked")
+ @Transactional(rollbackFor = { Exception.class }, propagation = Propagation.REQUIRED)
public void stretchPositionForMyselfFromJstree(
Collection c_idsByChildNodeFromNodeById, T jsTreeHibernateDTO) throws Exception {
@@ -774,6 +782,7 @@
}
@SuppressWarnings("unchecked")
+ @Transactional(rollbackFor = { Exception.class }, propagation = Propagation.REQUIRED)
public void cutMyself(T nodeById, long spaceOfTargetNode,
Collection c_idsByChildNodeFromNodeById) throws Exception {
Index: lib-module/pom.xml
===================================================================
diff -u -rad9c714b7989bb9fee2191b406ad97de2b80180a -r937b1f8b897c2a70f048df1aae5e2697ae0348a2
--- lib-module/pom.xml (.../pom.xml) (revision ad9c714b7989bb9fee2191b406ad97de2b80180a)
+++ lib-module/pom.xml (.../pom.xml) (revision 937b1f8b897c2a70f048df1aae5e2697ae0348a2)
@@ -5,7 +5,7 @@
313devgrp
java-service-tree-framework-core-library
- 22.12.25
+ 22.12.26
../pom.xml
Index: pom.xml
===================================================================
diff -u -rad9c714b7989bb9fee2191b406ad97de2b80180a -r937b1f8b897c2a70f048df1aae5e2697ae0348a2
--- pom.xml (.../pom.xml) (revision ad9c714b7989bb9fee2191b406ad97de2b80180a)
+++ pom.xml (.../pom.xml) (revision 937b1f8b897c2a70f048df1aae5e2697ae0348a2)
@@ -10,7 +10,7 @@
4.0.0
313devgrp
java-service-tree-framework-core-library
- 22.12.25
+ 22.12.26
pom
java-service-tree-framework-core-library