This content has been marked as final.
Show 2 replies
-
1. Re: Doing a batch update after a persist
smokingapipe Mar 20, 2007 4:19 AM (in response to smokingapipe)I'm wondering if it's related to:
http://jboss.com/index.html?module=bb&op=viewtopic&p=3893197
Any ideas would be welcome. -
2. Re: Doing a batch update after a persist
smokingapipe Mar 20, 2007 4:28 AM (in response to smokingapipe)I found the solution: do an entityManager.flush() after doing the persist(), to flush the new entity to the underlying DB, so that Postgres will be at peace with the universe.