I wanted to add a UUID property called "id" and a couple of datetime 
properties for audit purposes to all of my objects.  What I did was to add 
the properties to class V.  This way any class that inherits V would obtain 
the base properties.  However when I created a class using multiple 
inheritance i noticed in the Workbench that it creates the class 
duplicating the fields from superclass V.:

For example:

create property V.id binary
create property V.createAt datetime
create property V.updatedAt datetime

create class A extends V
create class B extends V

create class C extends A, B

In this case C has two sets of of the same base properties defined in V 
that it inherited from both A and B.

I expected only one set of properties -- the properties defined on the 
superclass V.

I'm using OrientDB 2.1-rc3 Community Edition (May 22nd, 2015)
And Workbench version 2.0.3




-- 

--- 
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.

Reply via email to