Hi Luca, I found this post because I need a method which works like *getEdgesBetweenVertexes <http://www.orientdb.org/releases/latest/javadoc/com/orientechnologies/orient/core/db/graph/OGraphDatabase.html#getEdgesBetweenVertexes(com.orientechnologies.orient.core.db.record.OIdentifiable, com.orientechnologies.orient.core.db.record.OIdentifiable)>*(OIdentifiable <http://www.orientdb.org/releases/latest/javadoc/com/orientechnologies/orient/core/db/record/OIdentifiable.html> iVertex1, OIdentifiable <http://www.orientdb.org/releases/latest/javadoc/com/orientechnologies/orient/core/db/record/OIdentifiable.html> iVertex2). But I'm using the 1.7.4 version and the OGraphDatabase is already removed. Is there any similar method in 1.7?
Regards Andrew On Wednesday, September 11, 2013 6:10:47 AM UTC-4, Lvc@ wrote: > > Hi Pawan, > as you noticed the new API returns a ODatabaseDocumentTx instead of the > deprecated OGraphDatabase. What do you need from OGraphDatabase instance > you can find in ODatabaseDocumentTx? > > Lvc@ > > > > On 11 September 2013 08:53, Pawan Goyal <[email protected] <javascript:>> > wrote: > >> OrientGraph graph = new >> OrientGraph("remote:localhost/harvest_migration", "admin", "admin"); >> OGraphDatabase rawGraph = (OGraphDatabase) graph.getRawGraph(); >> >> java.lang.ClassCastException: >> com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx cannot be >> cast to com.orientechnologies.orient.core.db.graph.OGraphDatabase >> at OrientDbGraphHello.<clinit>(OrientDbGraphHello.java:21) >> >> -- >> >> --- >> 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 [email protected] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- --- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
