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#4029653 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029653 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user