1
来源:互联网 发布:网络怎么赚钱现实点的 编辑:程序博客网 时间:2024/06/03 20:18
public class BaseDAO { public Connection getCon() throws SQLException{ return DBHelper.getCon(); } public void realse(Connection con) throws SQLException{ DBHelper.realse(con); }public int execute(String sql) throws SQLException{Connection con = getCon();PreparedStatement stmt = getCon().prepareStatement(sql);stmt.executeUpdate();String res = stmt.getString(1);realse(con);return res;}}
0 0
- 1
- 1
- 1
- 1
- 1
- 1
- 1》
- 1
- 1
- 1
- 1
- (1)
- 1
- 1
- 1
- 1
- 1
- 1
- Hadoop学习一(Hadoop安装)
- NVL oracle中的三目函数
- 欢迎使用CSDN-markdown编辑器
- 教你如何在机器学习竞赛中更胜一筹(下)
- jsp jstl函数 用标签声明页面变量,供jstl使用,时间格式问题
- 1
- 功能点字典
- nyoj 1278 Prototypes analyze(平衡二叉树)
- LIB和DLL的区别与使用
- git 冲突处理
- form表单切换action值,不同按钮 提交
- <转> js中Math.round、parseInt、Math.floor和Math.ceil小数取整总结
- response.getWriter().write()功能优于springMvc的返回
- java环境配置步骤