MCPcopy Create free account
hub / github.com/cruppstahl/upscaledb / begin

Method begin

java/java/de/crupp/upscaledb/Environment.java:448–451  ·  view source on GitHub ↗

Begins a new Transaction This method wraps the native ups_txn_begin function. More information: C documentation @param flags flags for beginning the Transaction

(int flags)

Source from the content-addressed store, hash-verified

446 * @param flags flags for beginning the Transaction
447 */
448 public Transaction begin(int flags)
449 throws DatabaseException {
450 return new Transaction(this, ups_txn_begin(m_handle, flags));
451 }
452
453 /**
454 * Begins a new Transaction

Callers 6

testBeginAbortMethod · 0.95
testBeginInsertAbortMethod · 0.95
testBeginCommitMethod · 0.95
testBeginEraseAbortMethod · 0.95
testBeginInsertCommitMethod · 0.95
testCursorMethod · 0.95

Calls 1

ups_txn_beginMethod · 0.95

Tested by 6

testBeginAbortMethod · 0.76
testBeginInsertAbortMethod · 0.76
testBeginCommitMethod · 0.76
testBeginEraseAbortMethod · 0.76
testBeginInsertCommitMethod · 0.76
testCursorMethod · 0.76