final ServiceRegistry serviceRegistry = buildingContext.getBootstrapContext().getServiceRegistry();
final ConfigurationService configurationService = serviceRegistry.getService(ConfigurationService.class);
final SqlStringGenerationContext generationContext = SqlStringGenerationContextImpl.fromExplicit(
serviceRegistry.getService(JdbcServices.class).getJdbcEnvironment(),
buildingContext.getMetadataCollector().getDatabase(),
configurationService.getSetting(AvailableSettings.DEFAULT_CATALOG, String.class, null),
configurationService.getSetting(AvailableSettings.DEFAULT_SCHEMA, String.class, null)
);
final String tableName = generationContext.format(associatedClass.getTable().getQualifiedTableName());