Like https://hibernate.atlassian.net/browse/HHH-12222 It is cool recomendation to use optimistic lock, but what if need pessimistic? What to do if refresh clear locks? https://hibernate.atlassian.net/browse/HHH-16055 P/S Fresh data received from database, but use old that not actually. Give one example where it need(after lock use not actual data)? |