mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
18 lines
390 B
Java
18 lines
390 B
Java
package main;
|
|
|
|
import io.ebean.docker.commands.NuoDBConfig;
|
|
import io.ebean.docker.commands.NuoDBContainer;
|
|
|
|
public class StartNuoDB {
|
|
|
|
public static void main(String[] args) {
|
|
|
|
NuoDBConfig config = new NuoDBConfig();
|
|
config.setSchema("test_user");
|
|
|
|
NuoDBContainer container = new NuoDBContainer(config);
|
|
container.stopRemove();
|
|
container.startWithDropCreate();
|
|
}
|
|
}
|