class TypeContributorImpl implements TypeContributor {
@Override
public void contribute(TypeContributions typeContributions, ServiceRegistry serviceRegistry) {
final Dialect dialect = serviceRegistry.getService( JdbcServices.class ).getDialect();
for ( Type type ... if ( dialect.equals( type.getDialectForContribution() ) {
typeContributions.contributeType( type );
}
}
}
}