- All Superinterfaces:
AttachmentProperties
,BaseProperties
,DatabaseConnectionProperties
- All Known Implementing Classes:
AbstractConnectionPropertiesDataSource
,FBAbstractCommonDataSource
,FBConnectionPoolDataSource
,FBConnectionProperties
,FBManagedConnectionFactory
,FBSimpleDataSource
,FBXADataSource
Connection properties for the Firebird connection. Main part of this
interface corresponds to the Database Parameter Buffer, but also contains
properties to specify default transaction parameters.
-
Method Summary
Modifier and TypeMethodDescriptiongetTransactionParameters
(int isolation) Get the transaction parameter buffer corresponding to the current connection request information.default String
Deprecated.void
setNonStandardProperty
(String propertyMapping) Set the property that does not have corresponding setter method.void
setTransactionParameters
(int isolation, TransactionParameterBuffer tpb) Set transaction parameters for the specified transaction isolation level.default void
setUserName
(String userName) Deprecated.UseAttachmentProperties.setUser(String)
; will be retained indefinitely for compatibilityMethods inherited from interface org.firebirdsql.jaybird.props.AttachmentProperties
getAuthPlugins, getCharSet, getConnectTimeout, getDbCryptConfig, getEnableProtocol, getEncoding, getParallelWorkers, getPassword, getPortNumber, getProcessId, getProcessName, getRoleName, getServerName, getSocketBufferSize, getSocketFactory, getSoTimeout, getType, getUser, getWireCrypt, isWireCompression, setAuthPlugins, setCharSet, setConnectTimeout, setDbCryptConfig, setEnableProtocol, setEncoding, setParallelWorkers, setPassword, setPortNumber, setProcessId, setProcessName, setRoleName, setServerName, setSocketBufferSize, setSocketFactory, setSoTimeout, setType, setUser, setWireCompression, setWireCrypt
Methods inherited from interface org.firebirdsql.jaybird.props.BaseProperties
connectionPropertyValues, getBooleanProperty, getBooleanProperty, getIntProperty, getIntProperty, getProperty, getProperty, setBooleanProperty, setIntProperty, setProperty
Methods inherited from interface org.firebirdsql.jaybird.props.DatabaseConnectionProperties
getBlobBufferSize, getDatabaseName, getDataTypeBind, getDecfloatRound, getDecfloatTraps, getDefaultIsolation, getDefaultTransactionIsolation, getGeneratedKeysEnabled, getPageCacheSize, getReportSQLWarnings, getScrollableCursor, getServerBatchBufferSize, getSessionTimeZone, getSqlDialect, getTpbMapping, isAllowTxStmts, isAsyncFetch, isColumnLabelForName, isCreateDatabaseIfNotExist, isDefaultResultSetHoldable, isExtendedMetadata, isIgnoreProcedureType, isUseCatalogAsPackage, isUseFirebirdAutocommit, isUseServerBatch, isUseStreamBlobs, setAllowTxStmts, setAsyncFetch, setBlobBufferSize, setColumnLabelForName, setCreateDatabaseIfNotExist, setDatabaseName, setDataTypeBind, setDecfloatRound, setDecfloatTraps, setDefaultIsolation, setDefaultResultSetHoldable, setDefaultTransactionIsolation, setExtendedMetadata, setGeneratedKeysEnabled, setIgnoreProcedureType, setPageCacheSize, setReportSQLWarnings, setScrollableCursor, setServerBatchBufferSize, setSessionTimeZone, setSqlDialect, setTpbMapping, setUseCatalogAsPackage, setUseFirebirdAutocommit, setUseServerBatch, setUseStreamBlobs
-
Method Details
-
getUserName
Deprecated.UseAttachmentProperties.getUser()
instead; will be retained indefinitely for compatibility- Returns:
- name of the user that will be used when connecting to the database.
-
setUserName
Deprecated.UseAttachmentProperties.setUser(String)
; will be retained indefinitely for compatibility- Parameters:
userName
- name of the user that will be used when connecting to the database.
-
setNonStandardProperty
Set the property that does not have corresponding setter method.- Parameters:
propertyMapping
- parameter value in thepropertyName[=propertyValue]
form, this allows setting non-standard parameters using configuration files.
-
getTransactionParameters
Get the transaction parameter buffer corresponding to the current connection request information.- Parameters:
isolation
- transaction isolation level for which TPB should be returned.- Returns:
- instance of
TransactionParameterBuffer
.
-
setTransactionParameters
Set transaction parameters for the specified transaction isolation level. The specified TPB is used as a default mapping for the specified isolation level.- Parameters:
isolation
- transaction isolation level.tpb
- instance ofTransactionParameterBuffer
containing transaction parameters.
-
AttachmentProperties.getUser()
instead; will be retained indefinitely for compatibility