@Service public class OtherService extends Object
private AccountMapper
accountMapper
OtherService()
void
createAccountDb1(Account account)
createAccountDb2(Account account)
private void
doCreateAccount(Account account)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@Autowired private AccountMapper accountMapper
public OtherService()
@DynamicTransactional @DynamicSource(value="db1") public void createAccountDb1(Account account)
@DynamicTransactional @DynamicSource(value="db2") public void createAccountDb2(Account account)
private void doCreateAccount(Account account)
Copyright © 2024. All rights reserved.