Commit 4cc0bbb3 authored by sjarande's avatar sjarande

comments added


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@99525 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 54ca8fac
...@@ -1715,12 +1715,13 @@ public class DistCommon ...@@ -1715,12 +1715,13 @@ public class DistCommon
throw new ITMException(e); throw new ITMException(e);
} }
}//else if 1 }//else if 1
if(rs != null ) //&& !rs.isClosed()) //25-dec-15 Commented by saurabh
if(rs != null ) //&& !rs.isClosed()) isClosed() is giving problem
{ {
rs.close(); rs.close();
rs = null; rs = null;
} }
if (pstmt != null ) // && !pstmt.isClosed()) if (pstmt != null ) // && !pstmt.isClosed()) isClosed() is giving problem
{ {
pstmt.clearParameters(); pstmt.clearParameters();
pstmt.close(); pstmt.close();
...@@ -8181,13 +8182,13 @@ public class DistCommon ...@@ -8181,13 +8182,13 @@ public class DistCommon
} }
} }
//25-dec-15 Commented by saurabh
if (rs != null ) //&& !rs.isClosed()) if (rs != null ) //&& !rs.isClosed()) isClosed() is giving problem
{ {
rs.close(); rs.close();
rs = null; rs = null;
} }
if (pstmt != null ) // && !pstmt.isClosed()) if (pstmt != null ) // && !pstmt.isClosed()) isClosed() is giving problem
{ {
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
...@@ -8201,13 +8202,13 @@ public class DistCommon ...@@ -8201,13 +8202,13 @@ public class DistCommon
throw new ITMException(e); throw new ITMException(e);
} }
} }
//25-dec-15 Commented by saurabh
if (rs != null ) //&& !rs.isClosed()) if (rs != null ) //&& !rs.isClosed()) isClosed() is giving problem
{ {
rs.close(); rs.close();
rs = null; rs = null;
} }
if (pstmt != null ) //&& !pstmt.isClosed()) if (pstmt != null ) //&& !pstmt.isClosed()) isClosed() is giving problem
{ {
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
...@@ -8322,13 +8323,13 @@ public class DistCommon ...@@ -8322,13 +8323,13 @@ public class DistCommon
throw new ITMException(e); throw new ITMException(e);
} }
} }
//25-dec-15 Commented by saurabh
if (rs != null ) // && !rs.isClosed()) if (rs != null ) // && !rs.isClosed()) isClosed() is giving problem
{ {
rs.close(); rs.close();
rs = null; rs = null;
} }
if (pstmt != null) // && !pstmt.isClosed()) if (pstmt != null) // && !pstmt.isClosed()) isClosed() is giving problem
{ {
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
...@@ -8543,6 +8544,7 @@ public class DistCommon ...@@ -8543,6 +8544,7 @@ public class DistCommon
throw new ITMException(e); throw new ITMException(e);
} }
} }
//25-dec-15 Commented by saurabh
if(rs != null )//&& !rs.isClosed()) isClosed() is giving problem if(rs != null )//&& !rs.isClosed()) isClosed() is giving problem
{ {
rs.close(); rs.close();
......
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