I'm getting a constraint violation exception. Here's what's going on:
1. I create a new entity, and persist it, using the SMPC.
2. I then do a batch update: entityManager.createQuery().executeUpdate(). This query
changes all the objects in a class to have a value that is the new entity that I persisted
in step 1.
I get a Postgres constraint violation at that point, saying that the entity with the ID
that was persisted in step 1 cannot be found in the table.
It seems like it may be a Seam bug, or an EJB3 bug, or some bug in interacting with PG.
Any ideas on this? Is there a work-around?
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029642#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...