private static ODocument getNode(final OGraphDatabase db, final Long nodeId) throws InvalidTreeException { OIndex index = db.getMetadata().getSchema().getClass("Node").getClassIndex("Node.id"); return (ODocument) db.getRecord((OIdentifiable) index.get(nodeId.toString()));} Orient Technologies
the Company behind OrientDBForgot to add that is currently running against the 1.5.0 release.
--
---
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-databa...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
All of our tests deal with multiple threads, so as a rule we always turn off the level 1 cache; too many problems otherwise.
What does your keepRecordInTransaction method do?
ould you check the latest version with 1-st level cache switched off.
The warning was still displayed with level 1 cache on, and we ran into a lot of varied Exceptions as well. That might point to some logic issues in our code, and we have identified a potential cause based on Sylvain's posts as our logic could load the same record into two different variables.
--
---
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-databa...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Orient Technologies
the Company behind OrientDBFor more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to a topic in the Google Groups "OrientDB" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/orient-database/TA0voVLymgk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to orient-databa...@googlegroups.com.