public static enum DbmsType.ConnectionType extends Enum<DbmsType.ConnectionType>
DbmsType uses. Most JDBC
connectors opens a socket to a specific port at some remote host.
However, there are lightweight databases that runs the entire database
engine in the connector and that only requires a file or group of files
to work with.| Enum Constant and Description |
|---|
DBMS_AS_FILE
Speedment connects to the database by reading a file from a
local path. |
HOST_AND_PORT
Speedment connects to the database using a
host and a Dbms.getPort(). |
| Modifier and Type | Method and Description |
|---|---|
static DbmsType.ConnectionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DbmsType.ConnectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DbmsType.ConnectionType HOST_AND_PORT
host and a Dbms.getPort().public static final DbmsType.ConnectionType DBMS_AS_FILE
local path.public static DbmsType.ConnectionType[] values()
for (DbmsType.ConnectionType c : DbmsType.ConnectionType.values()) System.out.println(c);
public static DbmsType.ConnectionType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2019 Speedment, Inc.. All rights reserved.