public interface FirebirdConnectionProperties extends DatabaseConnectionProperties
Modifier and Type | Method and Description |
---|---|
default int |
getBuffersNumber()
Deprecated.
Use
DatabaseConnectionProperties.getPageCacheSize() ; will be removed in Jaybird 6 |
default java.lang.String |
getDatabase()
Deprecated.
Use
DatabaseConnectionProperties.getDatabaseName() ; will be removed in Jaybird 6 or later |
default java.lang.String |
getNonStandardProperty(java.lang.String key)
Deprecated.
Use
BaseProperties.getProperty(String) ; will be removed in Jaybird 6 |
TransactionParameterBuffer |
getTransactionParameters(int isolation)
Get the transaction parameter buffer corresponding to the current
connection request information.
|
default java.lang.String |
getUserName()
Deprecated.
Use
AttachmentProperties.getUser() instead; will be retained indefinitely for compatibility |
default void |
setBuffersNumber(int buffersNumber)
Deprecated.
Use
DatabaseConnectionProperties.setPageCacheSize(int) ; will be removed in Jaybird 6 |
default void |
setDatabase(java.lang.String database)
Deprecated.
Use
DatabaseConnectionProperties.setDatabaseName(String) ; will be removed in Jaybird 6 or later |
void |
setNonStandardProperty(java.lang.String propertyMapping)
Set the property that does not have corresponding setter method.
|
default void |
setNonStandardProperty(java.lang.String key,
java.lang.String value)
Deprecated.
Use
BaseProperties.setProperty(String, String) ; will be removed in Jaybird 6 |
void |
setTransactionParameters(int isolation,
TransactionParameterBuffer tpb)
Set transaction parameters for the specified transaction isolation level.
|
default void |
setUserName(java.lang.String userName)
Deprecated.
Use
AttachmentProperties.setUser(String) ; will be retained indefinitely for compatibility |
getBlobBufferSize, getDatabaseName, getDataTypeBind, getDecfloatRound, getDecfloatTraps, getDefaultIsolation, getDefaultTransactionIsolation, getGeneratedKeysEnabled, getPageCacheSize, getScrollableCursor, getServerBatchBufferSize, getSessionTimeZone, getSqlDialect, getTpbMapping, isColumnLabelForName, isDefaultResultSetHoldable, isIgnoreProcedureType, isTimestampUsesLocalTimezone, isUseFirebirdAutocommit, isUseServerBatch, isUseStreamBlobs, setBlobBufferSize, setColumnLabelForName, setDatabaseName, setDataTypeBind, setDecfloatRound, setDecfloatTraps, setDefaultIsolation, setDefaultResultSetHoldable, setDefaultTransactionIsolation, setGeneratedKeysEnabled, setIgnoreProcedureType, setPageCacheSize, setScrollableCursor, setServerBatchBufferSize, setSessionTimeZone, setSqlDialect, setTimestampUsesLocalTimezone, setTpbMapping, setUseFirebirdAutocommit, setUseServerBatch, setUseStreamBlobs
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
@Deprecated default java.lang.String getDatabase()
DatabaseConnectionProperties.getDatabaseName()
; will be removed in Jaybird 6 or later@Deprecated default void setDatabase(java.lang.String database)
DatabaseConnectionProperties.setDatabaseName(String)
; will be removed in Jaybird 6 or laterdatabase
- path to the database including the server name and the port, if needed.@Deprecated default java.lang.String getUserName()
AttachmentProperties.getUser()
instead; will be retained indefinitely for compatibility@Deprecated default void setUserName(java.lang.String userName)
AttachmentProperties.setUser(String)
; will be retained indefinitely for compatibilityuserName
- name of the user that will be used when connecting to the database.@Deprecated default int getBuffersNumber()
DatabaseConnectionProperties.getPageCacheSize()
; will be removed in Jaybird 6@Deprecated default void setBuffersNumber(int buffersNumber)
DatabaseConnectionProperties.setPageCacheSize(int)
; will be removed in Jaybird 6buffersNumber
- number of cache buffers that should be allocated for this
connection, should be specified for ClassicServer instances,
SuperServer has a server-wide configuration parameter.@Deprecated default java.lang.String getNonStandardProperty(java.lang.String key)
BaseProperties.getProperty(String)
; will be removed in Jaybird 6key
- name of the property to get.@Deprecated default void setNonStandardProperty(java.lang.String key, java.lang.String value)
BaseProperties.setProperty(String, String)
; will be removed in Jaybird 6key
- name of the property to set.value
- value of the property.void setNonStandardProperty(java.lang.String propertyMapping)
propertyMapping
- parameter value in the propertyName[=propertyValue]
form, this allows setting non-standard
parameters using configuration files.TransactionParameterBuffer getTransactionParameters(int isolation)
isolation
- transaction isolation level for which TPB should be returned.TransactionParameterBuffer
.void setTransactionParameters(int isolation, TransactionParameterBuffer tpb)
isolation
- transaction isolation level.tpb
- instance of TransactionParameterBuffer
containing
transaction parameters.Copyright © 2001-2024 Jaybird (Firebird JDBC) team. All rights reserved.