This content has been marked as final.
Show 5 replies
-
1. Re: UPDATE after INSERT in CMR
Marius Kotsbak Jul 1, 2004 2:13 PM (in response to mkyaj)Did you find any solution to this? We have the same problem with postgres, which is fast to run the INSERT statements, but takes many seconds for each UPDATE statement...
-
2. Re: UPDATE after INSERT in CMR
Marius Kotsbak Jul 1, 2004 2:13 PM (in response to mkyaj)Did you find any solution to this? We have the same problem with postgres, which is fast to run the INSERT statements, but takes many seconds for each UPDATE statement...
-
3. Re: UPDATE after INSERT in CMR
Alexey Loubyansky Jul 2, 2004 3:29 AM (in response to mkyaj)<insert-after-ejb-post-create>true</insert-after-ejb-post-create>
-
4. Re: UPDATE after INSERT in CMR
Marius Kotsbak Jul 2, 2004 5:49 AM (in response to mkyaj)"loubyansky" wrote:
<insert-after-ejb-post-create>true</insert-after-ejb-post-create>
Thanks. I actually found this myself also, and it actually works :-) It speeds up our code >60X!.
Why isn't this the default? -
5. Re: UPDATE after INSERT in CMR
Alexey Loubyansky Jul 3, 2004 3:41 AM (in response to mkyaj)Because the spec says insert after ejbCreate and before ejbPostCreate.