Код: Выделить всё
public interface MenuDetailService {
List createMenuDetails(@UniqueElementsById List menuDetails);
}
@Service
@Validated
public class DefaultMenuDetailService implements MenuDetailService {
@Override
@Transactional(transactionManager = CommonConfig.ENTITY_PACKAGE)
public List createMenuDetails(@NotEmpty @UniformSourceId @UniqueElementsById List menuDetails) {
/*
ommited code for brevity
*/
}
}

Ожидается ли это? I have ran out of ideas on how to make it execute only once.
Please help and thanks in advance.
Подробнее здесь: https://stackoverflow.com/questions/798 ... uted-twice
Мобильная версия