Hi Lucas.
Unfortunately, I don't know the fields that you have in the classes and I can't help concretely, but I try to help by creating a random properties for two classes.In OrientDB don't use the JOIN, then there aren't relational tables and consequently the fields ID you used to link the tables are unnecessary.Than to connect two nodes, have to create a EDGE in your database schema. For create it use the query : CREATE CLASS <name-edge> EXTENDS Eand for create the connetion use:CREATE EDGE <name-edge> FROM <starting-vertex> to <finale-vertex> Also look this: http://orientdb.com/docs/2.0/orientdb.wiki/SQL-Create-Edge.html In my sample example i created 2 class (compromisso, usuario ) and 1 edge (link): I connect two table with edge using the query seen before: <https://lh3.googleusercontent.com/-p_3ZWPbIeQk/VXmOw7MukOI/AAAAAAAAAEM/ApbYKNGGB-c/s1600/select.png> and this is the graph that you obtain: <https://lh3.googleusercontent.com/-UhxohiFY9_Q/VXmO7mE7ylI/AAAAAAAAAEU/7JO7a2QonY8/s1600/grafo.png> however you can find some information here : http://orientdb.com/docs/2.0/index.html I hope to you helpful. Bye, Giulia -- --- 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.
