public void sendSmsqueue(String id) throws SQLException{
Connection conn=DBUtil.getConnection();
String proc="{call SendSmsqueue(?)}";
try {
CallableStatement stmt=conn.prepareCall(proc);
try{
stmt.setString(1, id);
stmt.execute();
}finally{
stmt.close();
}
} catch (SQLException e) {
// TODO Auto-generated catch block
logger.error("Send SMSQueue "+id, e);
throw e;
}
}
jsp调用存储过程的方法
最新推荐文章于 2024-06-05 10:54:52 发布