Commit 118e32d4 authored by manohar's avatar manohar

Bug fix, resultset and prepared statement closed in side loop instead of out...

Bug fix, resultset and prepared statement closed in side loop instead of out side loop to avoid too many cursor open


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@97172 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 738a3ba2
......@@ -832,7 +832,6 @@ public class ProofOfDelivery extends ValidatorEJB implements ProofOfDeliveryLoca
pstmt1.close();
pstmt1 = null;
}
}
if (rs != null)
{
rs.close();
......@@ -843,6 +842,7 @@ public class ProofOfDelivery extends ValidatorEJB implements ProofOfDeliveryLoca
pstmt.close();
pstmt = null;
}
}
} catch (Exception e)
{
System.out.println("--------Exception : in isBillNoRepeated method----------");
......
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