THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
ID | IEP-34 | ||||||||
Author | |||||||||
Sponsor | |||||||||
Created |
| ||||||||
Status |
|
Table of Contents |
---|
Currentrly Currently transactions are not supported by thin client protocol.
...
Add new operations to the thin client protocol:
Name | Code | Description |
---|---|---|
OP_TX_START | 4000 | Start a new transaction |
OP_TX_END | 4001 | End the transaction |
Request | |
---|---|
byte | Concurrency control: 0 - OPTIMISTIC 1 - PESSIMISTIC -1 - use server's default value |
byte | Isolation level: 0 - READ_COMMITTED 1 - REPEATABLE_READ 2 - SERIALIZABLE -1 - use server's default value |
long | Timeout (-1 - use server's default value) |
int | Number of entries participating in transaction (may be approximate). 0 - default value. |
string | label |
Response | |
---|---|
int | Unique per client connection transaction id. This id should be returned as parameter with OP_TX_END message. |
Request | |
---|---|
int | Transaction id. |
bool | Commit flag. |
Empty response.
...