I was looking to see if "++" was atomic (as I suspected it's not) and I
found this very interesting article from the Blue Guys about
java.util.concurrent.atomic in JDK 1.5. I am not an expert in locking,
but this looked very interesting. Has anybody looked at this? Could
Derby take advantage of this?
http://www-106.ibm.com/developerworks/java/library/j-jtp11234/
David