I'm trying to figure out if it will be possible for me to split my logic between multiple server-side functions. For that to work, I need to make sure that data created/edited in one function call can be read by other subsequent functions within the same transaction. So far, that's not working for me, not even within the same function.
var db = orient.getDatabase();
name : "test10-5"});
var userProfile = db.query('SELECT FROM UserProfile WHERE name = "test10-5"');
With this logic, I expect one (1) record to be returned. My Java code indicates that an OIdentifiable array is returned, but it is empty. How come I can't find the data that I just created?