Commit 6e657061 authored by prane's avatar prane

closed cursors and pstmts

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@197660 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 2e3e3226
...@@ -1769,7 +1769,7 @@ public class DistOrderRcpConf extends ActionHandlerEJB implements DistOrderRcpCo ...@@ -1769,7 +1769,7 @@ public class DistOrderRcpConf extends ActionHandlerEJB implements DistOrderRcpCo
if(rs.next()){ if(rs.next()){
countDet = rs.getInt("count"); countDet = rs.getInt("count");
} }
closeResources(pstmt, rs);//[pstmt and rs closed and nulled on 23feb19]
if(countDet > 0){ if(countDet > 0){
status = "P"; status = "P";
}else{ }else{
...@@ -1816,7 +1816,7 @@ public class DistOrderRcpConf extends ActionHandlerEJB implements DistOrderRcpCo ...@@ -1816,7 +1816,7 @@ public class DistOrderRcpConf extends ActionHandlerEJB implements DistOrderRcpCo
if(rs.next()){ if(rs.next()){
count = rs.getInt("count"); count = rs.getInt("count");
} }
closeResources(pstmt, rs);//[pstmt and rs closed and nulled on 23feb19]
if(count > 0){ if(count > 0){
errString = allocateStockWorkOrder(distOrder,xtraParams,tranID,conn); errString = allocateStockWorkOrder(distOrder,xtraParams,tranID,conn);
System.out.println("Error String after errString"+errString); System.out.println("Error String after errString"+errString);
...@@ -3810,4 +3810,3 @@ private String getCurrdateAppFormat() ...@@ -3810,4 +3810,3 @@ private String getCurrdateAppFormat()
//Ended by varsha v to get error type //Ended by varsha v to get error type
} }
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