// see if the persistence.xml settings named a Hibernate config file....
final ValueHolder<ConfigLoader> configLoaderHolder = new ValueHolder<ConfigLoader>(
new ValueHolder.DeferredInitializer<ConfigLoader>() {
@Override
public ConfigLoader initialize() {
return new ConfigLoader( bootstrapServiceRegistry );
}
}
);
final String cfgXmlResourceName1 = (String) merged.remove( AvailableSettings.CFG_FILE );