Hello everyone, I'm a Java guy who's been working with hibernate for 2 years now, but now i'm starting to work on a project where the ordinary relational database wont help me much, so I've decided to use OrientDB. I have several questions:
1. Is there any API for mapping my entities to the orientDB (as the hibernate mapping files where I describe my entity), if i can use XML again would be awesome
2. Except for the very good documentation on the OrientDb site, I couldn't find good Java examples in the internet and forums, may be you can suggest me some?
3. I see that hmm you can create vertices and edges using Java such as graph.addVertex("class:Person"), that's great but what if (and I want to) extend some class or implement some interface so i can create my custom Vertex / Edge and have control over them? I couldn't find something about that too.
For example lets say i have interface Person, but also i want to have an implementation of Person, where i can validate data and some other stuffs, in other words:
Person p = new PersonImpl("some", "args"); // Create the person with my own implementation
graph.addVertex(p); // save the very same person in the graph database
Person loadedP = graph.getVertexById(1); // load the person using its ID (or RID, sorry i'm used to call it id)
I'll appreciate any help from you guys, thank you for the attention and have a great day :)