mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
- 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
19 lines
509 B
Java
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();
|
|
}
|
|
}
|