Commit 73358a48 authored by agaikwad's avatar agaikwad

not needed for framework connection.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@43792 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a03ca6ac
......@@ -50,7 +50,7 @@ public class DissIssuePosSave extends ValidatorEJB implements DissIssuePosSave
try
{
if(conn == null){
/*if(conn == null){ commented on 10-May-2017 as not needed. Abhijit Gaikwad
ConnDriver connDriver = new ConnDriver();
//Changes and Commented By Bhushan on 09-06-2016 :START
......@@ -60,12 +60,11 @@ public class DissIssuePosSave extends ValidatorEJB implements DissIssuePosSave
connDriver= null;
isLocalConn = true;
conn.setAutoCommit(false);
}
}*/// Comm
//conn.setAutoCommit(false); // commented on 7-Oct-2014 as not needed for framework conn Sandesh
sql = "update distord_issdet set "
+" amount = quantity * rate , "
+" disc_amt = quantity * rate * discount/100 , "
......@@ -158,11 +157,11 @@ public class DissIssuePosSave extends ValidatorEJB implements DissIssuePosSave
{
try
{
if(isLocalConn){
/*if(isLocalConn){
conn.commit();
conn.close();
conn = null;
}
}*/
if(pstmt != null){
pstmt.close();
pstmt = null;
......
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