[JDBC]正确关闭connection

Connection conn = null; PreparedStatement stmt = null; ResultSet rs = null; try {    conn = DriverManager.getConnection(“jdbc:mysql://127.0.0.1/test”,“root”,“123456”);    stmt = conn.prepareStatement(
相关文章
相关标签/搜索