Search code examples
javaorientdb

Can I register my Java classes as OrientDB Vertices and/or Edges?


I tried the OrientDB Object Database API, which allows to use register Java POJOs to the database with entityManager.registerEntityClasses(packagename) and then read write them with minimal extra effort.

However, what I would like to achieve is to register my Java POJOs as Vertices in a graph. Is there some mapping available for registering Java POJOs as Vertices?


Solution

  • Sorry, GraphAPI can't be bound to Object Database API. You could use TinkerPop Frames for this purpose.