Java中删除数据库中的信息

public boolean deletePost(int postId){ Connection conn = null; PreparedStatement ps = null;  String sql = null;    try { conn = DbUtil.getConn(); sql = "delete from post  where postId=? "; ps = conn.p
相关文章
相关标签/搜索