It has probably already been asked, but I didn't find the answer so I'm asking it.
If I have this pattern:
@Transactional
private methodA(List<Long> ids) {
// Call to DB
}
public methodB(List<Long> ids) {
// Operations that doesn't require DB calls
this.methodA(ids);
// Operations that doesn't require DB calls
}
Should Method B be transactional? And if not, will it make shorter the transaction duration?