[jboss-user] [JBoss Seam] - Automatic Entity merge

McLoud do-not-reply at jboss.com
Mon Sep 25 09:14:14 EDT 2006


While looking at the examples considering if I'm going to switch from spring opensessioninview to seam I noticed something:

   @Begin
   public String selectHotel()
   {
      hotel = em.merge( hotelSearch.getSelectedHotel() );
      return "hotel";
   }

That is called when a second view is about to open receiving an entity from another view (and session). Is there a way to seam do the merge by itself without me doing it by hand?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973884#3973884

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973884



More information about the jboss-user mailing list