Index: core-module/pom.xml
===================================================================
diff -u -rf8752524efa1f28d177cdeebdf289483c0d56dc9 -r0635727d5112c08ebdaf7281a0ac8765c9c70bb5
--- core-module/pom.xml (.../pom.xml) (revision f8752524efa1f28d177cdeebdf289483c0d56dc9)
+++ core-module/pom.xml (.../pom.xml) (revision 0635727d5112c08ebdaf7281a0ac8765c9c70bb5)
@@ -7,7 +7,7 @@
313devgrp
java-service-tree-framework-core-library
- 23.01.27
+ 23.01.28
../pom.xml
@@ -31,7 +31,7 @@
313devgrp
lib-module
- 23.01.27
+ 23.01.28
pom
Index: core-module/src/main/java/egovframework/com/ext/jstree/springHibernate/core/dao/JsTreeHibernateAbstractDao.java
===================================================================
diff -u -r6052d503b02c276105b5641dfe1a1efd802f255c -r0635727d5112c08ebdaf7281a0ac8765c9c70bb5
--- core-module/src/main/java/egovframework/com/ext/jstree/springHibernate/core/dao/JsTreeHibernateAbstractDao.java (.../JsTreeHibernateAbstractDao.java) (revision 6052d503b02c276105b5641dfe1a1efd802f255c)
+++ core-module/src/main/java/egovframework/com/ext/jstree/springHibernate/core/dao/JsTreeHibernateAbstractDao.java (.../JsTreeHibernateAbstractDao.java) (revision 0635727d5112c08ebdaf7281a0ac8765c9c70bb5)
@@ -224,6 +224,17 @@
return (List) getHibernateTemplate().findByCriteria(detachedCriteria);
}
+ public List getListWithoutPaging(T extractSearchDTO) {
+ DetachedCriteria detachedCriteria = createDetachedCriteria();
+ for (Order order : extractSearchDTO.getOrder()) {
+ detachedCriteria.addOrder(order);
+ }
+ for (Criterion criterion : extractSearchDTO.getCriterions()) {
+ detachedCriteria.add(criterion);
+ }
+ return (List) getHibernateTemplate().findByCriteria(detachedCriteria);
+ }
+
public List getListWithoutPaging(Order order, Criterion... criterion) {
DetachedCriteria detachedCriteria = createDetachedCriteria();
for (Criterion c : criterion) {
Index: core-module/src/main/java/egovframework/com/ext/jstree/springHibernate/core/dao/JsTreeHibernateDao.java
===================================================================
diff -u -re1feabe8b0b88b383d0c7317791faaf8650f6c28 -r0635727d5112c08ebdaf7281a0ac8765c9c70bb5
--- core-module/src/main/java/egovframework/com/ext/jstree/springHibernate/core/dao/JsTreeHibernateDao.java (.../JsTreeHibernateDao.java) (revision e1feabe8b0b88b383d0c7317791faaf8650f6c28)
+++ core-module/src/main/java/egovframework/com/ext/jstree/springHibernate/core/dao/JsTreeHibernateDao.java (.../JsTreeHibernateDao.java) (revision 0635727d5112c08ebdaf7281a0ac8765c9c70bb5)
@@ -35,6 +35,7 @@
public Map getGroupByList(T extractSearchDTO, String groupProperty, String sumProperty);
public int getGroupByCount(T extractSearchDTO, String tagert);
public List getListWithoutPaging(Order order);
+ public List getListWithoutPaging(T extractSearchDTO);
public List getListWithoutPaging(Order order, Criterion... criterion);
public List getListWithoutPaging(DetachedCriteria detachedCriteria);
public int getCount(Criterion... criterions);
Index: core-module/src/main/java/egovframework/com/ext/jstree/springHibernate/core/service/JsTreeHibernateServiceImpl.java
===================================================================
diff -u -rf8752524efa1f28d177cdeebdf289483c0d56dc9 -r0635727d5112c08ebdaf7281a0ac8765c9c70bb5
--- core-module/src/main/java/egovframework/com/ext/jstree/springHibernate/core/service/JsTreeHibernateServiceImpl.java (.../JsTreeHibernateServiceImpl.java) (revision f8752524efa1f28d177cdeebdf289483c0d56dc9)
+++ core-module/src/main/java/egovframework/com/ext/jstree/springHibernate/core/service/JsTreeHibernateServiceImpl.java (.../JsTreeHibernateServiceImpl.java) (revision 0635727d5112c08ebdaf7281a0ac8765c9c70bb5)
@@ -43,7 +43,6 @@
logger.info("JsTreeHibernateServiceImpl :: getNode");
jsTreeHibernateDao.setClazz(jsTreeHibernateDTO.getClass());
- jsTreeHibernateDao.getCurrentSession().setCacheMode(CacheMode.IGNORE);
jsTreeHibernateDTO.setWhere("c_id", jsTreeHibernateDTO.getC_id());
Object uniqueObj = jsTreeHibernateDao.getUnique(jsTreeHibernateDTO);
return (T) uniqueObj;
@@ -53,16 +52,14 @@
@Override
public List getChildNodeWithoutPaging(T jsTreeHibernateDTO) throws Exception {
jsTreeHibernateDao.setClazz(jsTreeHibernateDTO.getClass());
- jsTreeHibernateDao.getCurrentSession().setCacheMode(CacheMode.IGNORE);
- List list = jsTreeHibernateDao.getListWithoutPaging(jsTreeHibernateDTO.getOrder().get(0));
+ List list = jsTreeHibernateDao.getListWithoutPaging(jsTreeHibernateDTO);
return list;
}
@SuppressWarnings("unchecked")
@Override
public List getChildNode(T jsTreeHibernateDTO) throws Exception {
jsTreeHibernateDao.setClazz(jsTreeHibernateDTO.getClass());
- jsTreeHibernateDao.getCurrentSession().setCacheMode(CacheMode.IGNORE);
List list = jsTreeHibernateDao.getList(jsTreeHibernateDTO);
return list;
}
Index: lib-module/pom.xml
===================================================================
diff -u -rf8752524efa1f28d177cdeebdf289483c0d56dc9 -r0635727d5112c08ebdaf7281a0ac8765c9c70bb5
--- lib-module/pom.xml (.../pom.xml) (revision f8752524efa1f28d177cdeebdf289483c0d56dc9)
+++ lib-module/pom.xml (.../pom.xml) (revision 0635727d5112c08ebdaf7281a0ac8765c9c70bb5)
@@ -5,7 +5,7 @@
313devgrp
java-service-tree-framework-core-library
- 23.01.27
+ 23.01.28
../pom.xml
Index: pom.xml
===================================================================
diff -u -rf8752524efa1f28d177cdeebdf289483c0d56dc9 -r0635727d5112c08ebdaf7281a0ac8765c9c70bb5
--- pom.xml (.../pom.xml) (revision f8752524efa1f28d177cdeebdf289483c0d56dc9)
+++ pom.xml (.../pom.xml) (revision 0635727d5112c08ebdaf7281a0ac8765c9c70bb5)
@@ -10,7 +10,7 @@
4.0.0
313devgrp
java-service-tree-framework-core-library
- 23.01.27
+ 23.01.28
pom
java-service-tree-framework-core-library