class BankRepository {

	@Transactional
	public Bank update(Bank bank) {
		BankEntity entity = bankJdbcRepository.update(new BankEntity().toEntity(bank));
		return entity.toDomain();
	}

	@Autowired public  BankRepository(BankJdbcRepository bankJdbcRepository, MastersQueueRepository bankQueueRepository,
			FinancialConfigurationService financialConfigurationService, BankESRepository bankESRepository,
			@Value("${persist.through.kafka}") String persistThroughKafka);

}