Commits the Transaction This method wraps the native ups_txn_commit function. More information: C documentation
()
| 65 | * More information: <a href="http://files.upscaledb.com/documentation/html/group__ups__txn.html#gada266b6c9cdc883b77adf0268129076c">C documentation</a> |
| 66 | */ |
| 67 | public void commit() |
| 68 | throws DatabaseException { |
| 69 | if (m_handle == 0) |
| 70 | return; |
| 71 | int status = ups_txn_commit(m_handle, 0); |
| 72 | if (status != 0) |
| 73 | throw new DatabaseException(status); |
| 74 | m_handle = 0; |
| 75 | } |
| 76 | |
| 77 | /** |
| 78 | * Sets the Transaction handle |