Commit c5783c41 authored by ngadkari's avatar ngadkari

closing of prepared statement and result set before breaking of loop

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@196043 ce508802-f39f-4f6c-b175-0d175dae99d5
parent c1604e1c
......@@ -3757,11 +3757,6 @@ public class SalesReturn extends ValidatorEJB implements SalesReturnLocal, Sales
break;
}
}
if (tempInvoiceId != null && tempInvoiceId.trim().length() > 0)
{
break;
}
if (pstmt != null) {
pstmt.close();
pstmt = null;
......@@ -3769,7 +3764,13 @@ public class SalesReturn extends ValidatorEJB implements SalesReturnLocal, Sales
if (rs != null) {
rs.close();
rs = null;
}// closing before break change by nandkumar gadkari on 22/01/19
if (tempInvoiceId != null && tempInvoiceId.trim().length() > 0)
{
break;
}
}
//Added by Nandkumar Gadkari on 14/09/18----------------[End]---------------------------------------
......
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