Skip to content

Commit

Permalink
Remove support for hibernate.properties (long deprecated)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanne committed Jun 1, 2021
1 parent 535f4db commit 2a8d56d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 74 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import org.hibernate.service.internal.ProvidedService;
import org.hibernate.service.spi.ServiceContributor;

import io.quarkus.hibernate.orm.runtime.boot.QuarkusEnvironment;
import io.quarkus.hibernate.orm.runtime.service.InitialInitiatorListProvider;

/**
Expand All @@ -42,13 +41,7 @@ public final class RecordableBootstrap extends StandardServiceRegistryBuilder {

public RecordableBootstrap(BootstrapServiceRegistry bootstrapServiceRegistry,
InitialInitiatorListProvider initialInitiatorsProvider) {
this(bootstrapServiceRegistry, initialProperties(), LoadedConfig.baseline(), initialInitiatorsProvider);
}

private static Map initialProperties() {
HashMap map = new HashMap();
map.putAll(QuarkusEnvironment.getInitialProperties());
return map;
this(bootstrapServiceRegistry, new HashMap(), LoadedConfig.baseline(), initialInitiatorsProvider);
}

private RecordableBootstrap(BootstrapServiceRegistry bootstrapServiceRegistry, Map properties,
Expand Down

0 comments on commit 2a8d56d

Please sign in to comment.