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.
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
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
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.
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
I have implemented optimistic locking for concurrency situations. I have used the version property in the mapping files to link to a integer.
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