|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.firebirdsql.jca.FBTpb
FBTpb.java Created: Wed Jun 19 10:12:22 2002
Field Summary | |
static java.lang.Integer |
ISC_TPB_CONCURRENCY
|
static java.lang.Integer |
ISC_TPB_CONSISTENCY
|
static java.lang.Integer |
ISC_TPB_NO_REC_VERSION
|
static java.lang.Integer |
ISC_TPB_NOWAIT
|
static java.lang.Integer |
ISC_TPB_READ
|
static java.lang.Integer |
ISC_TPB_READ_COMMITTED
|
static java.lang.Integer |
ISC_TPB_REC_VERSION
|
static java.lang.Integer |
ISC_TPB_WAIT
|
static java.lang.Integer |
ISC_TPB_WRITE
|
static java.lang.String |
TRANSACTION_NONE
|
static java.lang.String |
TRANSACTION_READ_COMMITTED
|
static java.lang.String |
TRANSACTION_READ_UNCOMMITTED
|
static java.lang.String |
TRANSACTION_REPEATABLE_READ
|
static java.lang.String |
TRANSACTION_SERIALIZABLE
|
Constructor Summary | |
FBTpb(FBTpb tpb)
|
|
FBTpb(FBTpbMapper mapper)
|
Method Summary | |
void |
add(java.lang.Integer key)
|
boolean |
equals(java.lang.Object other)
|
byte[] |
getArray()
|
int |
getIscTransactionIsolation()
Deprecated. This method should not be used by applications because only JDBC transaction isolation levels should be used. Also corresponding setter method is deprecated, so using this method makes a little sense without it. |
FBTpbMapper |
getMapper()
|
int |
getTransactionIsolation()
Gets this Connection's current transaction isolation level. |
java.lang.String |
getTransactionIsolationName()
|
int |
hashCode()
|
boolean |
isReadOnly()
|
void |
setIscTransactionIsolation(int isolation)
Deprecated. This method does not handle correctly JDBC-TPB mapping and should not be called if custom mapping is used. |
void |
setMapper(FBTpbMapper mapper)
|
void |
setReadOnly(boolean readOnly)
|
void |
setTpb(FBTpb tpb)
|
void |
setTransactionIsolation(int level)
Attempts to change the transaction isolation level to the one given. |
void |
setTransactionIsolationName(java.lang.String tin)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String TRANSACTION_SERIALIZABLE
public static final java.lang.String TRANSACTION_REPEATABLE_READ
public static final java.lang.String TRANSACTION_READ_COMMITTED
public static final java.lang.String TRANSACTION_READ_UNCOMMITTED
public static final java.lang.String TRANSACTION_NONE
public static final java.lang.Integer ISC_TPB_CONSISTENCY
public static final java.lang.Integer ISC_TPB_CONCURRENCY
public static final java.lang.Integer ISC_TPB_READ_COMMITTED
public static final java.lang.Integer ISC_TPB_REC_VERSION
public static final java.lang.Integer ISC_TPB_NO_REC_VERSION
public static final java.lang.Integer ISC_TPB_WAIT
public static final java.lang.Integer ISC_TPB_NOWAIT
public static final java.lang.Integer ISC_TPB_READ
public static final java.lang.Integer ISC_TPB_WRITE
Constructor Detail |
public FBTpb(FBTpbMapper mapper)
public FBTpb(FBTpb tpb)
Method Detail |
public FBTpbMapper getMapper()
public void setMapper(FBTpbMapper mapper) throws FBResourceException
FBResourceException
public boolean equals(java.lang.Object other)
public int hashCode()
public void setTpb(FBTpb tpb)
public void add(java.lang.Integer key)
public void setTransactionIsolationName(java.lang.String tin) throws javax.resource.ResourceException
javax.resource.ResourceException
public java.lang.String getTransactionIsolationName() throws javax.resource.ResourceException
javax.resource.ResourceException
public void setTransactionIsolation(int level) throws javax.resource.ResourceException
Connection
are the possible transaction isolation levels.
Note: This method cannot be called while in the middle of a transaction.
level
- one of the TRANSACTION_* isolation values with the
exception of TRANSACTION_NONE; some databases may not support
other values
SQLException
- if a database access error occurs
javax.resource.ResourceException
public int getTransactionIsolation() throws javax.resource.ResourceException
SQLException
- if a database access error occurs
javax.resource.ResourceException
public int getIscTransactionIsolation()
public void setIscTransactionIsolation(int isolation)
isolation
- one of the ISCConstants.isc_tpb_consistency
,
ISCConstants.isc_tpb_concurrency
or
ISCConstants.isc_tpb_read_committed
.public void setReadOnly(boolean readOnly)
public boolean isReadOnly()
public byte[] getArray()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |