Aborts the Transaction This method wraps the native ups_txn_abort function. More information: C documentation
()
| 48 | * More information: <a href="http://files.upscaledb.com/documentation/html/group__ups__txn.html#ga3a1c2a2a3efa859f9966f53d019598c9">C documentation</a> |
| 49 | */ |
| 50 | public void abort() |
| 51 | throws DatabaseException { |
| 52 | if (m_handle == 0) |
| 53 | return; |
| 54 | int status = ups_txn_abort(m_handle, 0); |
| 55 | if (status != 0) |
| 56 | throw new DatabaseException(status); |
| 57 | m_handle = 0; |
| 58 | } |
| 59 | |
| 60 | /** |
| 61 | * Commits the Transaction |