Thanks for the replies everyone. Ultimately what I need to do is come to terms with the reality that I need to rethink my data layer architecture.
As such, can someone tell me if using OrientGraph.getVertices() on a unique key index with multiple values will result in a SINGLE round-trip request, and will be able to see vertices created within this transaction (as opposed to running a server-side SQL query)? See code sample below: // Input parameters Set<String> channelIds = [set of channel IDs]; // Retrieve vertices Iterator<Vertex> channelVtxIterator = db.getVertices( OrientDbPersistence.KEY_CHANNEL_ID, channelIds) .iterator(); // Parse vertices Map<String, Channel> channels = new HashMap<>(); while (channelVtxIterator.hasNext()) { OrientVertex channelVtx = (OrientVertex)channelVtxIterator.next(); channels.put( channelVtx.getProperty(PROP_CHANNEL_ID), this.parseChannel(channelVtx)); } -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to orient-database+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.