This content has been marked as final.
Show 3 replies
-
1. Re: Hotel Booking sample and Conversation - Why merge?
thejavafreak Sep 22, 2007 12:48 AM (in response to gersonk)Because if you use em.find(..) you'll have to call em.merge again after that.
-
2. Re: Hotel Booking sample and Conversation - Why merge?
matt.drees Sep 22, 2007 11:29 AM (in response to gersonk)I don't understand. Why is that?
-
3. Re: Hotel Booking sample and Conversation - Why merge?
wise_guybg Sep 23, 2007 3:21 AM (in response to gersonk)Have you seen the console log of the original code and you proposal? Any differences?
I guess merge() is just shorter to type. Both calls will have the same result in the given case.