Versions available for this page: CUBRID 8.4.1 | CUBRID 8.4.3 | CUBRID 9.0.0 |
It configures a property value in T_CCI_PROPERTIES structure. The property name and its meaning that can be configured in the structure are as follows:
If you configure default_autocommit, default_isolation, or default_lock_timeout value, connection for autocommit, isolation, or lock_timeout based on current configured value is returned when cci_datasource_borrow is called. If you do not configure it, connection for autocommit, isolation, or lock_timeout is returned with keeping the value that a user changed before.
default_isolation has one of the following configuration values. For details on isolation level, see "CUBRID SQL Guide > Transaction and Lock > Transaction Isolation Level."
|
isolation_level |
Configuration Value |
|---|---|
|
SERIALIZABLE |
"TRAN_SERIALIZABLE" |
|
REPEATABLE READ CLASS with |
"TRAN_REP_CLASS_REP_INSTANCE" |
|
REPEATABLE READ CLASS with |
"TRAN_REP_CLASS_COMMIT_INSTANCE" |
|
REPEATABLE READ CLASS with |
"TRAN_REP_CLASS_UNCOMMIT_INSTANCE" |
|
READ COMMITTED CLASS with |
"TRAN_COMMIT_CLASS_COMMIT_INSTANCE" |
|
READ COMMITTED CLASS with |
"TRAN_COMMIT_CLASS_UNCOMMIT_INSTANCE" |
int cci_property_set (T_CCI_PROPERTIES * properties, char * key, char * value)