@Override
	public Money convertToEntityAttribute(String source) {

		if (source == null) {
			return null;
		}

		try {
			return Money.parse(source);
		} catch (RuntimeException e) {

			try {
				return Money.parse(source, FORMAT);
			} catch (RuntimeException inner) {

				// Propagate the original exception in case the fallback fails
				throw e;
			}
		}
	}
@Test
	void deserializesFormattedValues() {
		assertThat(converter.convertToEntityAttribute("EUR 123,456.78")).isEqualTo(Money.of(123456.78, "EUR"));
	}