@Override
    public Number parse(final String value) {
        try {
            return Integer.parseInt(value);
        } catch (final NumberFormatException ignored) {
        }
        try {
            return Long.parseLong(value);
        } catch (final NumberFormatException ignored) {
        }
        return new BigDecimal(value);
    }
@Test
    void assertParseWithLong() {
        assertThat(new PostgreSQLNumericValueParser().parse(Long.valueOf(Long.MAX_VALUE).toString()), is(Long.MAX_VALUE));
    }