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.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029653#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...