title: How do I implement Unit Of Work in Spring & JPA/Hibernate?
body: <p>I am trying to get my head around the concept of UOW and how I can implement it in my spring/jpa/hibernate app with DDD. I make my methods transactional, but how do I make sure that all the entities that have been changed in the transaction get persisted? Is it by using cascading collections or is there another way?</p>