Код: Выделить всё
@Transactional
public Interface ExampleRepo {
SampleClass createRecord();
}
public class RepoImpl implements ExampleRepo {
public SampleClass createRecord() {
return saveRecord();
}
private saveRecord() {
//Saving record to Database.
}
}
Будет ли эта транзакция отмечена как откат?
Подробнее здесь: https://stackoverflow.com/questions/714 ... ate-method
Мобильная версия