Also, is there any reason why you couldn't / wouldn't code the method as follows instead???
@Begin | public String selectHotel(Hotel selectedHotel) { | hotel = em.find(Hotel.class, selectedHotel.getId()); | return "hotel"; | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018793#4018793 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018793 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user