Created
April 25, 2016 07:13
-
-
Save namendes/2fd57a512413c6832d7524fe5a22de3a to your computer and use it in GitHub Desktop.
beyondCow example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final Query query = getQueryManager(context).createQuery(queryString, Query.SQL); final NodeIterator iter = query.execute().getNodes(); if (iter.hasNext()) { user.populate(iter.nextNode()); } else { LOG.error("User {} does not exist, returning object without state.", username); } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment