}
private IdSourceKeyAndKeyMetadataProvider getDelegate(Dialect dialect) {
GridDialect gridDialect = super.getGridDialect();
if ( gridDialect.supportsSequences() ) {
return new SequenceKeyAndMetadataProvider( generatorKeyMetadata );
}
else {
log.dialectDoesNotSupportSequences( gridDialect.getClass().getName() );