public class FBTpb
extends java.lang.Object
implements java.io.Serializable
FBTpb
class represents the Firebird Transaction Parameter
Block (TPB), which contains Firebird-specific information about transaction
isolation.
Created: Wed Jun 19 10:12:22 2002Constructor and Description |
---|
FBTpb(TransactionParameterBuffer transactionParams)
Create a new Transaction Parameters Block instance based around a
FBTpbMapper . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
TransactionParameterBuffer |
getTransactionParameterBuffer() |
int |
hashCode() |
boolean |
isReadOnly()
Determine whether this TPB is set to read-only.
|
void |
setReadOnly(boolean readOnly)
Set the read-only flag on this TPB.
|
void |
setTransactionParameterBuffer(TransactionParameterBuffer tpb) |
public FBTpb(TransactionParameterBuffer transactionParams)
FBTpbMapper
.transactionParams
- instance of TransactionParameterBuffer
representing transaction parameters.public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void setReadOnly(boolean readOnly)
readOnly
- If true
, this TPB will be set to read-only,
otherwise it will be be read-writepublic boolean isReadOnly()
true
if this TPB is read-only, otherwise falsepublic TransactionParameterBuffer getTransactionParameterBuffer()
public void setTransactionParameterBuffer(TransactionParameterBuffer tpb)
Copyright © 2001-2019 Jaybird (Firebird JDBC/JCA) team. All rights reserved.