public.javadoc.org.spincast.testing.core.h2.SpincastTestingH2Config.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
SpincastTestingH2Config (org.spincast:spincast-framework 1.0.0 API)
org.spincast.testing.core.h2
Interface SpincastTestingH2Config
-
- All Known Implementing Classes:
- SpincastTestingH2ConfigDefault
public interface SpincastTestingH2Config
-
-
Method Summary
All Methods Instance Methods Abstract Methods
Modifier and Type
Method and Description
String
getCompatibilityMode()
Should a compatibility mode be used by H2?
Be default, "MODE=PostgreSQL" will be
used.
String
getDatabaseName()
The name of the database.
String
getServerHost()
The host on which to start the server.
Integer
getServerPort()
The port on which to start the H2
TCP server.
boolean
isDatabaseToUpper()
Defaults to false
.
-
-
Method Detail
-
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. If null
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.
- See Also:
http://www.h2database.com/html/features.html#compatibility
-
isDatabaseToUpper
boolean isDatabaseToUpper()
Defaults to false
.
- See Also:
https://www.h2database.com/javadoc/org/h2/engine/DbSettings.html#DATABASE_TO_UPPER
Copyright © 2019. All rights reserved.