How can I safely save data to two tables in one method? I insert into one table and update to the other. @Transactional is enough?
Like this:
@Transact