Deadlock problems with Hibernate/Spring/MS-SQL (Object Relational Mapping forum at JavaRanch)

Deadlock problems with Hibernate/Spring/MS-SQL (Object Relational Mapping forum at JavaRanch)

瀏覽:896
日期:2025-05-01
For MS SQL solution is pretty simple. To avoid deadlocks never read after you wrote. Point is if you begin transaction then you are in risk of dead locks. So do it this way: first load all the data you need then process this data and then do all updates. ...看更多