use of com.sleepycat.je.DatabaseException in project janusgraph by JanusGraph.
the class BerkeleyJETx method commit.
@Override
public synchronized void commit() throws BackendException {
super.commit();
if (tx == null)
return;
if (log.isTraceEnabled())
log.trace("{} committed", this.toString(), new TransactionClose(this.toString()));
try {
closeOpenIterators();
tx.commit();
tx = null;
} catch (DatabaseException e) {
throw new PermanentBackendException(e);
}
}
Aggregations