start: keyboard(1)=12 webcam(5)=3 @Transactional move of 5 from webcam to keyboard -> DataIntegrityViolationException after: keyboard(1)=12 webcam(5)=3 (both UPDATEs rolled back) same body, no @Transactional -> DataIntegrityViolationException after: keyboard(1)=17 webcam(5)=3 (the first UPDATE had already committed) TransactionTemplate, UPDATE then RuntimeException -> IllegalStateException; mouse(2)=40 (was 40) inside a transaction a later SELECT sees the earlier UPDATE: 55; after commit: 55