Commit 02bc0b45 authored by sanashaikh's avatar sanashaikh

Sana S: Modified on 07/01/2020

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@214698 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d83edd55
......@@ -127,8 +127,8 @@ public class HolChangePreCanc extends ActionHandlerEJB implements HolChangePreCa
pstmt.setTimestamp(4, holDateToSql);
pstmt.setString(5, checkNull(holType));
updStatus = pstmt.executeUpdate();
closePstmtRset(pstmt,rs);// Added by Sana S on 07/01/2020
System.out.println("canceled the request [::" + updStatus);
if(updStatus != 0)
......@@ -166,7 +166,8 @@ public class HolChangePreCanc extends ActionHandlerEJB implements HolChangePreCa
} finally {
try {
itmDBAccess = null;
if (rs != null)
//Modified by Sana S on 07/01/2020 [start]
/*if (rs != null)
{
rs.close();
rs = null;
......@@ -175,7 +176,10 @@ public class HolChangePreCanc extends ActionHandlerEJB implements HolChangePreCa
{
pstmt.close();
pstmt = null;
}
}*/
closePstmtRset(pstmt,rs);
//Modified by Sana S on 07/01/2020 [end]
if (conn != null)
{
conn.close();
......
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