Which two annotations indicate that the transaction for a transactional test method should be committed after the test method has completed? (Choose two.)
Haha, I almost selected `@Sql(alwaysCommit=true)`. That one sounds like it would just commit the transaction no matter what! Gotta be careful with those trick questions.
C and E are the correct answers here. The `@Commit` and `@Transactional(commit=true)` annotations indicate that the transaction should be committed after the test method has completed.
Frank
3 months agoRessie
3 months agoRory
2 months agoMira
2 months agoRoxane
2 months agoPaulina
2 months agoJaime
3 months agoNilsa
3 months agoElina
4 months agoAlberto
4 months agoStefania
2 months agoRory
3 months agoLaticia
3 months agoErasmo
3 months agoJaime
4 months ago