Die Angabe von @Transactional rollbackFor schließt auch RuntimeException ein

@Transactional(rollbackFor = MyCheckedException.class)
public void foo() {
    throw new RuntimeException();    
}

Wird diese Transaktion zurückgesetzt oder muss ich RuntimeException.class ebenfalls in die Annotation aufnehmen?

Antworten auf die Frage(3)

Ihre Antwort auf die Frage