optimistic-locking
Optimistic locking batch update
How to use optimistic locking with batch updates? I am using SimpleJdbcTemplate and for a single row I can build update sql that increments version column value and includes version in WHERE clause.[详细]
2023-01-01 14:56 分类:问答jdbctemplate and optimistic locking
In the project I\'m in Hibernate and Spring jdbctemplate are mixed. I added optimistic locking. Hibernate works great with versioning but now I have to tansform all this jdbctemplate code to use versi[详细]
2023-01-01 10:58 分类:问答Castle ActiveRecord optimistic locking on properties
Can Castle ActiveRecord do optimistic locking on properties? I found optimistic locking for the entire class, but not for an individual property. In my case, I need to make it so that adding/removing[详细]
2022-12-28 01:23 分类:问答GAE update different fields of the same entity
UserA and UserB are changing objectA.filedA objectA.filedB respectively and at the same time. Because they are not changing the same field one might think that there are no overlaps.[详细]
2022-12-25 18:42 分类:问答How should I handle persistence in a Java MUD? OptimisticLockException handling
I\'m re-implementing a old BBS MUD game in Java with permission from the original developers. Currently I\'m using Java EE 6 with EJB Session facades for the game logic and JPA for the persistence. A[详细]
2022-12-23 22:09 分类:问答NHibernate overwrite the concurrency in optimistic scenario
I have implemented optimistic locking for concurrency situations. I have used the version property in the mapping files to link to a integer.[详细]
2022-12-22 19:39 分类:问答Java Solutions for Distributed Transactions and/or Data Shared in Cluster
What are the best approaches to clustering/distributing a Java server application ? I\'m looking for an approach that allows you to scale horizontally by adding more application servers, and more dat[详细]
2022-12-09 13:43 分类:问答