Optimistic locking doesn seem to be working/problem with JDBC batching?
Hibernate uses the updated row count to detect conflicting data modifications. Hibernate will automatically disable JDBC batch updates if you are using versioned data, since some JDBC drivers return incorrect values after UPDATEs (i.e. Oracle’s). If you are sure that your driver works, set the hibernate.jdbc.batch_versioned_data configuration property to true.
Related Questions
- The KT-70 Mode S Transponder that I just purchased and installed is locking up and not working properly. What could be the problem?
- My Working Model file no longer gives me the answers found in the Beer & Johnston textbook. Whats the problem?
- Optimistic locking doesn seem to be working/problem with JDBC batching?