I\'ve been testing rollbacks with the @Transactional annotation. If an unchecked exception is thrown, session operations should be rolled back.
@Transactional
session