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
2 months agoRessie
2 months agoRory
8 days agoMira
10 days agoRoxane
16 days agoPaulina
18 days agoJaime
2 months agoNilsa
2 months agoElina
2 months agoAlberto
2 months agoStefania
25 days agoRory
1 months agoLaticia
2 months agoErasmo
2 months agoJaime
3 months ago