#2049 - Migrate to DatabaseConfig from ServerConfig (#2057)

This commit is contained in:
Rob Bygrave
2020-09-14 18:30:51 +12:00
committed by GitHub
parent 488762957a
commit 6839f869f5
63 changed files with 3551 additions and 3495 deletions
@@ -2,7 +2,7 @@ package io.ebeaninternal.server.deploy;
import io.ebean.annotation.PostSoftDelete;
import io.ebean.annotation.PreSoftDelete;
import io.ebean.config.ServerConfig;
import io.ebean.config.DatabaseConfig;
import io.ebean.event.BeanPersistAdapter;
import io.ebean.event.BeanPersistRequest;
import io.ebean.event.BeanPostConstructListener;
@@ -34,7 +34,7 @@ class BeanLifecycleAdapterFactory {
private final boolean postConstructPresent;
BeanLifecycleAdapterFactory(ServerConfig serverConfig) {
BeanLifecycleAdapterFactory(DatabaseConfig serverConfig) {
this.postConstructPresent = serverConfig.getClassLoadConfig().isJavaxPostConstructPresent();
}