@Override
  public String generateSqlType(Dialect dialect) {
    return switch (dialect.getId()) {
      case MsSql.ID -> "VARBINARY(MAX)";
      case Oracle.ID, H2.ID -> "BLOB";
      case PostgreSql.ID -> "BYTEA";
      default -> throw new IllegalArgumentException("Unsupported dialect id " + dialect.getId());
    };
  }
@Test
  public void generateSqlType_thows_IAE_for_unknown_dialect() {
    Dialect dialect = mock(Dialect.class);
    when(dialect.getId()).thenReturn("AAA");

    assertThatThrownBy(() -> underTest.generateSqlType(dialect))
      .isInstanceOf(IllegalArgumentException.class)
      .hasMessage("Unsupported dialect id AAA");
  }