top of page
Writer's picturepicmoumulurust

RaveVib Sammi Einhalod







Gallery featured channel External links Category:2007 establishments in California Category:American pornographic film studios Category:American companies established in 2007 Category:Film production companies of the United StatesQ: Hibernate Error when do update method Exception in thread "main" java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [L I have a Customer object. I am trying to update a customer object with hibernate but its throwing exception. I am using jboss server. Here is my customer class: public class Customer { private int id; private String name; public int getId() { return id; } public void setId(int id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } } Here is my JSP code to update the customer: "> "> Here is my controller: @RequestMapping("/admin/Customer/update") public ModelAndView updateCustomer(ModelAndView modelAndView, HttpServletRequest request, HttpServletResponse response) { String id = request.getParameter("id"); String name = request.getParameter("name"); modelAndView.setViewName("admin/Customer"); ac619d1d87


Related links:

24 views0 comments

Comments


  • White Facebook Icon
  • White Vimeo Icon
  • White YouTube Icon
  • White Twitter Icon
  • White LinkedIn Icon
bottom of page