Update: adding an explicit LockModeType paramater value to entityManager.find in the EJB eliminates this problem. I do not think this should be necessary, and is not necessary for all other entity updates my application does. I'm sure that there is nothing else being concurrently executed that would cause a locking problem and transaction commit failure. |