@Override public void init() { OProfiler.getInstance().startRecording(); database = new ODatabaseDocumentTx(System.getProperty("url")).open("admin", "admin"); record = database.newInstance(); database.declareIntent(new OIntentMassiveInsert()); database.begin(TXTYPE.NOTX); }
@Override public void init() { Orient.instance().getProfiler().startRecording(); database = new ODatabaseDocumentTx(System.getProperty("url")).open("admin", "admin"); record = database.newInstance(); database.declareIntent(new OIntentMassiveInsert()); database.begin(TXTYPE.NOTX); beginRecords = database.countClass("Account"); System.out.println("Total accounts: " + beginRecords); }