Commit 170f41b8 authored by steurwadkar's avatar steurwadkar

Changed by santosh


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@101138 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 272828e2
...@@ -798,6 +798,8 @@ public class DockTranPos extends ValidatorEJB implements DockTranPosLocal, DockT ...@@ -798,6 +798,8 @@ public class DockTranPos extends ValidatorEJB implements DockTranPosLocal, DockT
{ {
System.out.println("Despatch Header Updated successfully with exchage rate [ "+exchRate +"]"); System.out.println("Despatch Header Updated successfully with exchage rate [ "+exchRate +"]");
} }
conn.commit();
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
...@@ -843,8 +845,6 @@ public class DockTranPos extends ValidatorEJB implements DockTranPosLocal, DockT ...@@ -843,8 +845,6 @@ public class DockTranPos extends ValidatorEJB implements DockTranPosLocal, DockT
pstmt.setString(1, despId); pstmt.setString(1, despId);
updCnt = pstmt.executeUpdate(); updCnt = pstmt.executeUpdate();
conn.commit();
if( updCnt > 0 ) if( updCnt > 0 )
{ {
System.out.println( updCnt + " rows updated successfully " ); System.out.println( updCnt + " rows updated successfully " );
......
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