/* * (non-Javadoc) * * @see com.tinkerpop.blueprints.Graph#shutdown() */ @Override public void shutdown() { commit(); db.close(); dex.close(); }
void autoStartTransaction() { if (sessionData.get().session == null) { sessionData.get().session = db.newSession(); // System.out.println("> th=" + Thread.currentThread().getId() + " starts tx with sess=" + // sess); } else { assert !sessionData.get().session.isClosed(); } }