Files
ebean/ebean-test/src/test/java/main/StartDb2.java
T
Rob Bygrave ca445b5226 ebean-test-docker was renamed to ebean-test-containers
- Migrate from io.ebean:ebean-test-docker -> io.ebean:ebean-test-containers
- Migrate (with 5.8) package from io.ebean.docker.commands -> io.ebean.test.containers
2022-05-24 08:54:58 +12:00

19 lines
509 B
Java

package main;
import io.ebean.test.containers.Db2Container;
public class StartDb2 {
public static void main(String[] args) {
Db2Container.builder("11.5.6.0a")
.dbName("unit")
.user("unit")
.password("unit")
// to change collation, charset and other parameters like pagesize:
.configOptions("USING CODESET UTF-8 TERRITORY DE COLLATE USING IDENTITY PAGESIZE 32768")
.configOptions("USING STRING_UNITS CODEUNITS32")
.build()
.startWithDropCreate();
}
}