Skip to content

Handling of embedded Vertcies in Version 3.2.15 and above #9979

Answered by tglman
Freewister asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

Using Vertex as embedded documents has never been supported by OrientDB, that's why this validations were included, the reason for not supporting that, is that some underlying structures for store links between vertices and edges cannot be used in embedded documents, If you were having embedded documenst with a class typed as a vertex, which never have been used as vertex, meaning they had no edges, probably you could use that without problem in version older then 3.2.15, and to fix this after 3.2.15 you just need to make sure the class you are using for the embedded type do not extends V. you can remove the V from existing class with a statement like: ALTER CLASS Pet SUPERCLASS -V

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tglman
Comment options

Answer selected by Freewister
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants