We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cc1d7b commit 4c2b436Copy full SHA for 4c2b436
demo-ebean/src/main/java/com/example/EbeanFactroyBean.java
@@ -15,7 +15,6 @@
15
16
import com.avaje.ebean.EbeanServer;
17
import com.avaje.ebean.EbeanServerFactory;
18
-import com.avaje.ebean.config.CurrentUserProvider;
19
import com.avaje.ebean.config.ServerConfig;
20
21
@Component
@@ -28,12 +27,6 @@ public EbeanServer getObject() throws Exception {
28
27
29
ServerConfig config = new ServerConfig();
30
config.setName("db");
31
-// config.setCurrentUserProvider(new CurrentUserProvider() {
32
-// @Override
33
-// public Object currentUser() {
34
-// return "test";
35
-// }
36
-// });
37
config.loadFromProperties(properties);
38
config.loadTestProperties();
39
config.setDefaultServer(true);
0 commit comments