How does moveTempRecord(); look like? Post the code here
And why didn't you use entityManager.flush() instead?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084870#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...