BF [ 1874419 ] JDBC Statement not close in a finally block

This commit is contained in:
Carlos Ruiz 2008-02-01 16:33:58 +00:00
parent 070b7a20ea
commit 071d9768d8
2 changed files with 3 additions and 3 deletions

View File

@ -98,7 +98,7 @@ public class MRule extends X_AD_Rule
}
finally {
DB.close(rs, pstmt);
pstmt = null;
rs = null; pstmt = null;
}
if (retValue != null)
@ -137,7 +137,7 @@ public class MRule extends X_AD_Rule
}
finally {
DB.close(rs, pstmt);
pstmt = null;
rs = null; pstmt = null;
}
if (rules != null && rules.size() > 0)

View File

@ -80,7 +80,7 @@ public class MTableScriptValidator extends X_AD_Table_ScriptValidator
}
finally {
DB.close(rs, pstmt);
pstmt = null;
rs = null; pstmt = null;
}
if (mvrs != null && mvrs.size() > 0)