class BankJdbcRepository extends JdbcRepository {

	public BankEntity findById(BankEntity entity) {
		List<String> list = allIdentitiferFields.get(entity.getClass().getSimpleName());

		Map<String, Object> paramValues = new HashMap<>();

		for (String s : list) {
			paramValues.put(s, getValue(getField(entity, s), entity));
		}

		List<BankEntity> banks = namedParameterJdbcTemplate.query(
				getByIdQuery.get(entity.getClass().getSimpleName()).toString(), paramValues,
				new BeanPropertyRowMapper(BankEntity.class));
		if (banks.isEmpty()) {
			return null;
		} else {
			return banks.get(0);
		}

	}

	public  BankJdbcRepository(NamedParameterJdbcTemplate namedParameterJdbcTemplate);

}