HHH-11944 Add missing methods to delegating class

This commit is contained in:
Guillaume Smet 2017-08-28 15:15:35 +02:00
parent 08cbe1a33f
commit 13bb0a3f22
1 changed files with 16 additions and 0 deletions

View File

@ -11,6 +11,7 @@ import javax.persistence.SharedCacheMode;
import org.hibernate.annotations.common.reflection.ReflectionManager;
import org.hibernate.boot.CacheRegionDefinition;
import org.hibernate.boot.Metadata;
import org.hibernate.boot.MetadataBuilder;
import org.hibernate.boot.archive.scan.spi.ScanEnvironment;
import org.hibernate.boot.archive.scan.spi.ScanOptions;
@ -256,4 +257,19 @@ public abstract class AbstractDelegatingMetadataBuilderImplementor<T extends Met
delegate.applyIdGenerationTypeInterpreter( interpreter );
return getThis();
}
@Override
public <M extends MetadataBuilder> M unwrap(Class<M> type) {
return delegate.unwrap( type );
}
@Override
public MetadataBuildingOptions getMetadataBuildingOptions() {
return delegate.getMetadataBuildingOptions();
}
@Override
public Metadata build() {
return delegate.build();
}
}