public interface ServiceConnectionProperties extends AttachmentProperties
Modifier and Type | Method and Description |
---|---|
default java.lang.String |
getExpectedDb()
Gets the expected db (
isc_spb_expected_db ; defaults to null ). |
default java.lang.String |
getServiceName()
Gets the service name (defaults to
"service_mgr" ). |
default void |
setExpectedDb(java.lang.String expectedDb)
Filename or alias of the database expected to be accessed by the service operation (
isc_spb_expected_db ). |
default void |
setServiceName(java.lang.String serviceName)
Sets the service name
|
getAuthPlugins, getCharSet, getConnectTimeout, getDbCryptConfig, getEncoding, getParallelWorkers, getPassword, getPortNumber, getProcessId, getProcessName, getRoleName, getServerName, getSocketBufferSize, getSoTimeout, getType, getUser, getWireCrypt, isWireCompression, setAuthPlugins, setCharSet, setConnectTimeout, setDbCryptConfig, setEncoding, setParallelWorkers, setPassword, setPortNumber, setProcessId, setProcessName, setRoleName, setServerName, setSocketBufferSize, setSoTimeout, setType, setUser, setWireCompression, setWireCrypt
connectionPropertyValues, getBooleanProperty, getBooleanProperty, getIntProperty, getIntProperty, getProperty, getProperty, setBooleanProperty, setIntProperty, setProperty
default java.lang.String getServiceName()
"service_mgr"
).setServiceName(String)
default void setServiceName(java.lang.String serviceName)
When serverName
is null
, then the value is taken as the URL of the service, and exact
interpretation depends on the protocol implementation (type
). Examples:
serverName
, depending on the Firebird version and platform, NATIVE may use Firebird Embedded)xnet
) TODO: Check if actually validfbclient
connection URLs — NATIVE, (EMBEDDED will behave as NATIVE, protocols
like PURE_JAVA may interpret the protocol name as a host nametype
implementations may support other URL formats
Some protocols, for example PURE_JAVA, when serverName
is not set, but serviceName
doesn't seem
to contain a host name, may default to attempting to connect to localhost with serviceName
as the
service.
When serverName
is set, the value is taken as the database path or alias. Examples:
null
serviceName
- service namedefault java.lang.String getExpectedDb()
isc_spb_expected_db
; defaults to null
).setExpectedDb(String)
default void setExpectedDb(java.lang.String expectedDb)
isc_spb_expected_db
).
For Firebird 3.0 and higher when using a non-default security database, so Firebird knows which database to use to authenticate. When using the default security database, this property does not need to be set.
Some service implementations (e.g. BackupManager
)
may explicitly set this as part of their operation when its current value is null
.
expectedDb
- Expected databaseCopyright © 2001-2023 Jaybird (Firebird JDBC) team. All rights reserved.