This content has been marked as final.
Show 3 replies
-
1. Re: Should HibernateSaveOperation be saveOrUpdate?
kukeltje Jan 12, 2008 1:16 PM (in response to brittm)I'd go for 1 if there are no side effects.
-
2. Re: Should HibernateSaveOperation be saveOrUpdate?
tom.baeyens Jan 14, 2008 6:29 AM (in response to brittm)i'm very scared of side effects. i recall having changed that once or twice over time and that the diffs were very subtle.
-
3. Re: Should HibernateSaveOperation be saveOrUpdate?
brittm Jan 14, 2008 10:25 AM (in response to brittm)I've heard down the line that Gavin and company somewhat regret introducing a difference between 'save' and 'saveOrUpdate', and that given an opportunity to do it again they would not bother with only 'save'ing. In fact, its my understanding that JPA itself only supports a 'saveOrUpdate' concept. But I'm simply repeating what I've heard rather than what I know myself.
Perhaps someone could ping Gavin and he could comment on any nuances between the two that might affect us.