Commit f0cfcaa1 authored by 刘喆's avatar 刘喆

add st.close

parent 9401114e
...@@ -113,6 +113,8 @@ public class MysqlJdbcDim { ...@@ -113,6 +113,8 @@ public class MysqlJdbcDim {
rs = st.executeQuery(sql); rs = st.executeQuery(sql);
} catch (SQLException e) { } catch (SQLException e) {
e.printStackTrace(); e.printStackTrace();
} finally {
close(null, st, null);
} }
return rs; return rs;
} }
......
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