use of indi.mybatis.flying.exceptions.ConfigurerException in project mybatis.flying by limeng32.
the class TransactiveService method addAccountTransactive.
@Transactional(rollbackFor = { ConfigurerException.class }, readOnly = false, propagation = Propagation.REQUIRED, isolation = Isolation.READ_COMMITTED)
public void addAccountTransactive() throws ConfigurerException {
Role_ role2 = new Role_();
role2.setName("role_");
roleService.insert(role2);
throw new ConfigurerException("qwe");
}
Aggregations