s.codegen-maven-plugin.4.1.source-code.tp-test-ebean.properties Maven / Gradle / Ivy
## when running tests using db-create-all.sql and db-drop-all.sql
ebean.ddl.generate=true
ebean.ddl.run=true
# Test against Postgres (via local docker container on port 6432)
datasource.db.username=test_user
datasource.db.password=test
datasource.db.databaseUrl=jdbc:postgresql://localhost:6432/test_db
datasource.db.databaseDriver=org.postgresql.Driver
#ebean.docstore.url=http://127.0.0.1:9200
#ebean.docstore.active=true
#ebean.docstore.generateMapping=true
#ebean.docstore.dropCreate=true
#ebean.docstore.create=true
## -------------------------------------------------------------
## Extra Examples - delete unused
## -------------------------------------------------------------
# H2
#datasource.db.username=sa
#datasource.db.password=
#datasource.db.databaseUrl=jdbc:h2:mem:tests
#datasource.db.databaseDriver=org.h2.Driver
# MySql
#datasource.db.username=test_user
#datasource.db.password=test
#datasource.db.databaseUrl=jdbc:mysql://localhost:4306/test_db
#datasource.db.databaseDriver=com.mysql.jdbc.Driver