I\'ve got a DAO that I used to load and save my domain objects using JPA. I finally managed to get the transaction stuff working, now I\'ve got another issue.
In my
+1 to Pascal Thivent's post and just a followup.
@Transactional public void remove(long purchaseId){ Purchase attached = jpaTemplate.find(Purchase.class,purchaseId); jpaTemplate.remove(attached); }