Package org.spincast.testing.core.h2
Interface SpincastTestingH2Config
- All Known Implementing Classes:
SpincastTestingH2ConfigDefault
public interface SpincastTestingH2Config
-
Method Summary
Modifier and TypeMethodDescriptionShould a compatibility mode be used by H2? Be default, "MODE=PostgreSQL" will be used.The name of the database.The host on which to start the server.The port on which to start the H2 TCP server.boolean
Defaults tofalse
.
-
Method Details
-
getServerHost
String getServerHost()The host on which to start the server. Should probably be "localhost". -
getDatabaseName
String getDatabaseName()The name of the database. Defaults to "test". -
getServerPort
Integer getServerPort()The port on which to start the H2 TCP server. Ifnull
a random free port will be used.Defaults to 9092.
-
getCompatibilityMode
String getCompatibilityMode()Should a compatibility mode be used by H2? Be default, "MODE=PostgreSQL" will be used. -
isDatabaseToUpper
boolean isDatabaseToUpper()Defaults tofalse
.
-