public static void delMessage(String messageId){
String sql = "update message t set t.cunzai='0' where t.messageid='?'";

Connection conn = JdbcUtilsHelper.getConnection();
PreparedStatement pstmt = null;
 
    try {
     conn.setAutoCommit(true);  
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, messageId);
pstmt.execute();
pstmt.close();
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

}我每次调用这个方法的时候都报出   无效的列索引   帮我来看看啊  谢谢各位了