Commit f5a78729 authored by Ajit Deshmukh's avatar Ajit Deshmukh

Rresolved the issue reported by the QC for duplicate records in SQL Log screen

parent aaf9789c
...@@ -2332,8 +2332,17 @@ public class ManageSqlConf extends ActionHandlerEJB { ...@@ -2332,8 +2332,17 @@ public class ManageSqlConf extends ActionHandlerEJB {
} else { } else {
try{
connForSchema = connDriverForSchema.getConnectDB(schemaName); connForSchema = connDriverForSchema.getConnectDB(schemaName);
}catch (Exception e) {
String error = (e.getMessage() != null)
? e.getMessage()
: e.toString();
System.out.println("Catch block for executeAndLog method for creating connection 1...." + error);
logSqlExecution(tranId, enterpriseCode, "0", requestID, inputSql, 0, "E", userId, chgTerm, error, "");
}
String schemaSql = "SELECT USER FROM DUAL"; String schemaSql = "SELECT USER FROM DUAL";
PreparedStatement schemaForPs = connForSchema.prepareStatement(schemaSql); PreparedStatement schemaForPs = connForSchema.prepareStatement(schemaSql);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment