Package org.firebirdsql.jca
Class FBTpb
java.lang.Object
org.firebirdsql.jca.FBTpb
- All Implemented Interfaces:
Serializable
The
FBTpb class represents the Firebird Transaction Parameter
Block (TPB), which contains Firebird-specific information about transaction
isolation.
Created: Wed Jun 19 10:12:22 2002- Author:
- David Jencks
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFBTpb(TransactionParameterBuffer transactionParams) Create a new Transaction Parameters Block instance based around aFBTpbMapper. -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanDetermine whether this TPB is set to read-only.voidsetReadOnly(boolean readOnly) Set the read-only flag on this TPB.void
-
Constructor Details
-
FBTpb
Create a new Transaction Parameters Block instance based around aFBTpbMapper.- Parameters:
transactionParams- instance ofTransactionParameterBufferrepresenting transaction parameters.
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
setReadOnly
public void setReadOnly(boolean readOnly) Set the read-only flag on this TPB.- Parameters:
readOnly- Iftrue, this TPB will be set to read-only, otherwise it will be be read-write
-
isReadOnly
public boolean isReadOnly()Determine whether this TPB is set to read-only.- Returns:
trueif this TPB is read-only, otherwise false
-
getTransactionParameterBuffer
-
setTransactionParameterBuffer
-