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
5 months agoRessie
5 months agoRory
3 months agoMira
4 months agoRoxane
4 months agoPaulina
4 months agoJaime
5 months agoNilsa
5 months agoElina
5 months agoAlberto
5 months agoStefania
4 months agoRory
4 months agoLaticia
5 months agoErasmo
5 months agoJaime
6 months ago