Index: core-module/pom.xml
===================================================================
diff -u -r29489f7a9713671ca778396d040463840103fcbe -r783816d02f92bdc1fe22640d404db0acd5019aa9
--- core-module/pom.xml (.../pom.xml) (revision 29489f7a9713671ca778396d040463840103fcbe)
+++ core-module/pom.xml (.../pom.xml) (revision 783816d02f92bdc1fe22640d404db0acd5019aa9)
@@ -7,7 +7,7 @@
313devgrp
java-service-tree-framework-core-library
- 22.12.13
+ 22.12.14
../pom.xml
@@ -31,7 +31,7 @@
313devgrp
lib-module
- 22.12.13
+ 22.12.14
pom
Index: core-module/src/main/java/egovframework/com/ext/jstree/springHibernate/core/interceptor/RouteTableInterceptor.java
===================================================================
diff -u -r5dea0ad933e8caab5b7861e60bf3cf0b298d3c63 -r783816d02f92bdc1fe22640d404db0acd5019aa9
--- core-module/src/main/java/egovframework/com/ext/jstree/springHibernate/core/interceptor/RouteTableInterceptor.java (.../RouteTableInterceptor.java) (revision 5dea0ad933e8caab5b7861e60bf3cf0b298d3c63)
+++ core-module/src/main/java/egovframework/com/ext/jstree/springHibernate/core/interceptor/RouteTableInterceptor.java (.../RouteTableInterceptor.java) (revision 783816d02f92bdc1fe22640d404db0acd5019aa9)
@@ -5,13 +5,23 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
+import javax.servlet.http.HttpServletRequest;
+
public class RouteTableInterceptor extends EmptyInterceptor {
private static final Logger logger = LoggerFactory.getLogger(RouteTableInterceptor.class);
@Override
public String onPrepareStatement(String sql) {
+ try {
+ HttpServletRequest httpServletRequest = SessionUtil.getUrl();
+ String servletPath = httpServletRequest.getServletPath();
+ logger.info("RouteTableInterceptor :: servletPath -> " + servletPath);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+
String prepedStatement = super.onPrepareStatement(sql);
try {
if (null == SessionUtil.getAttribute("replaceTableName")) {
Index: core-module/src/main/java/egovframework/com/ext/jstree/springHibernate/core/interceptor/SessionUtil.java
===================================================================
diff -u -rad9e2de93ec8fbc3c7926394dd8516438e1d0c7d -r783816d02f92bdc1fe22640d404db0acd5019aa9
--- core-module/src/main/java/egovframework/com/ext/jstree/springHibernate/core/interceptor/SessionUtil.java (.../SessionUtil.java) (revision ad9e2de93ec8fbc3c7926394dd8516438e1d0c7d)
+++ core-module/src/main/java/egovframework/com/ext/jstree/springHibernate/core/interceptor/SessionUtil.java (.../SessionUtil.java) (revision 783816d02f92bdc1fe22640d404db0acd5019aa9)
@@ -2,7 +2,10 @@
import org.springframework.web.context.request.RequestAttributes;
import org.springframework.web.context.request.RequestContextHolder;
+import org.springframework.web.context.request.ServletRequestAttributes;
+import javax.servlet.http.HttpServletRequest;
+
/**
* session Util
* - Spring에서 제공하는 RequestContextHolder 를 이용하여
@@ -37,4 +40,8 @@
public static String getSessionId() throws Exception {
return RequestContextHolder.getRequestAttributes().getSessionId();
}
+
+ public static HttpServletRequest getUrl() throws Exception {
+ return ((ServletRequestAttributes) RequestContextHolder.currentRequestAttributes()).getRequest();
+ }
}
Index: core-module/src/main/resources/egovframework/sqlmap/com/ext/jstree/springiBatis/jstreeDefaultManage_SQL_Oracle_iBatis.xml
===================================================================
diff -u -rd5a3750c0ecbfbc6718ad911f26efa45bb6ddfd6 -r783816d02f92bdc1fe22640d404db0acd5019aa9
--- core-module/src/main/resources/egovframework/sqlmap/com/ext/jstree/springiBatis/jstreeDefaultManage_SQL_Oracle_iBatis.xml (.../jstreeDefaultManage_SQL_Oracle_iBatis.xml) (revision d5a3750c0ecbfbc6718ad911f26efa45bb6ddfd6)
+++ core-module/src/main/resources/egovframework/sqlmap/com/ext/jstree/springiBatis/jstreeDefaultManage_SQL_Oracle_iBatis.xml (.../jstreeDefaultManage_SQL_Oracle_iBatis.xml) (revision 783816d02f92bdc1fe22640d404db0acd5019aa9)
@@ -29,7 +29,7 @@
/*
* DROP SEQUENCE S_ARMS_REQADD;
*/
- CREATE SEQUENCE S_$c_title$
+ CREATE SEQUENCE S_T_$c_title$
START WITH 10
MAXVALUE 999999999999999999999999999
MINVALUE 0
Index: lib-module/pom.xml
===================================================================
diff -u -r29489f7a9713671ca778396d040463840103fcbe -r783816d02f92bdc1fe22640d404db0acd5019aa9
--- lib-module/pom.xml (.../pom.xml) (revision 29489f7a9713671ca778396d040463840103fcbe)
+++ lib-module/pom.xml (.../pom.xml) (revision 783816d02f92bdc1fe22640d404db0acd5019aa9)
@@ -5,7 +5,7 @@
313devgrp
java-service-tree-framework-core-library
- 22.12.13
+ 22.12.14
../pom.xml
Index: pom.xml
===================================================================
diff -u -r29489f7a9713671ca778396d040463840103fcbe -r783816d02f92bdc1fe22640d404db0acd5019aa9
--- pom.xml (.../pom.xml) (revision 29489f7a9713671ca778396d040463840103fcbe)
+++ pom.xml (.../pom.xml) (revision 783816d02f92bdc1fe22640d404db0acd5019aa9)
@@ -10,7 +10,7 @@
4.0.0
313devgrp
java-service-tree-framework-core-library
- 22.12.13
+ 22.12.14
pom
java-service-tree-framework-core-library