Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Grails と Hibernate を使用しています。ログにがorg.hibernate.StaleObjectStateException記録されています。これは、楽観的ロックの失敗が原因で発生する可能性があります。罰金。ただし、同じスレッドからの複数の更新によってこれが発生しないようにしたいと考えています。つまり、決して。同じ hibernate エンティティに複数の更新があるが、すべて同じスレッドからこの例外を引き起こす可能性があるまれなケースはありますか?
org.hibernate.StaleObjectStateException
ありがとう、