I have a DAO class with two following methods:
@Transactional
public void save() throws Exception {
}
@Transactional
public void save2() {
}
In the service class I call those methods as follows:
public void processDAO() {
dao.save();
dao.save2();
}
My question is, will those methods run as part of the same transaction or in independent transactions or none of these?
Thanks and best regards,