From c0b324b77a692fc43d83ba5217fef547680d7b71 Mon Sep 17 00:00:00 2001 From: robin Date: Tue, 22 Mar 2022 20:16:49 +0900 Subject: [PATCH] [no issue] type : fix Changes Fixes - fix get schema list from database --- build-all.bat | 4 ++-- .../src/experdb/mnt/listener/task/DX004.java | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/build-all.bat b/build-all.bat index 2e7808b2..8909872a 100644 --- a/build-all.bat +++ b/build-all.bat @@ -6,8 +6,8 @@ SET "PATH=%PATH%;%PROGRAMFILES%\Git\bin;C:\apache-ant-1.9.9-bin;C:\Program Files For /F %%g in ('git rev-parse HEAD ^| cut -b 1-7') Do (Set GIT_COMMIT_HASH=%%g) -set BASE_VER=13.0.11 -set BASE_VER_UDERSCORE=13_0_11 +set BASE_VER=13.0.12 +set BASE_VER_UDERSCORE=13_0_12 For /F %%i in ('git rev-list HEAD ^| find /c /v ""') Do Set GIT_COMMIT_CNT=%%i diff --git a/eXperDB_Server/eXperDB_Monitoring_Agent/src/experdb/mnt/listener/task/DX004.java b/eXperDB_Server/eXperDB_Monitoring_Agent/src/experdb/mnt/listener/task/DX004.java index f58bf00b..6db9f55d 100644 --- a/eXperDB_Server/eXperDB_Monitoring_Agent/src/experdb/mnt/listener/task/DX004.java +++ b/eXperDB_Server/eXperDB_Monitoring_Agent/src/experdb/mnt/listener/task/DX004.java @@ -79,7 +79,7 @@ public JSONArray perform(String tran_cd, String req_data) throws Exception { sessDB = sqlSessionFactory.openSession(connDB); List> schemaList = new ArrayList>(); - schemaList = sessionCollect.selectList("app.DX004_002"); + schemaList = sessDB.selectList("app.DX004_002"); String schema = ""; @@ -100,6 +100,7 @@ public JSONArray perform(String tran_cd, String req_data) throws Exception { log.error("", e); return resDataArray; } finally { + if(connDB != null) connDB.close(); if(sessDB != null) sessDB.close(); }