Hi Andrew,
While it should be OK to map the table to a single entity, I'm wondering why do you get an OptimisticLockException? If the version column is not known to the persistence provider it can't check the value. Or is the database perform some kind of validation for 2 updates to in the same transaction?
thanks,
-marina
[Message sent by forum member 'mvatkina' (mvatkina)]
http://forums.java.net/jive/thread.jspa?messageID=217921