My application is based on Hibernate 3.2 and Spring 2.5. Here is the transaction management related snippet from the application context:
I would refactor parse
in a way it doesn't call save
directly but takes some callback from service layer. Service layer would pass its transactional method with save
call as this callback.
It may not work exactly as decribed in your case but from this short description this would be something I'd try.