I'll try to add this to the issue list if it's a bug.

Strange behavior that caused me some pain.

REPRO:

1.  Create a base class with an index

CREATE CLASS W EXTENDS V;
    CREATE PROPERTY W.s String;
    ALTER PROPERTY W.s NOTNULL true;


2.  Add an index

CREATE INDEX W.s UNIQUE;

3.  Derive from this base class...

CREATE CLASS X EXTENDS W;
CREATE CLASS Y EXTENDS W;


Expected...   normal operations

Actual, all kinds of randomness listed as IN and OUT for Vertexes where I 
never added the edge.

Actual #2, the index page doesn't lists only 1 UNIQUE index on the base 
class and none for the derived classes.

*I would expect that inheritance would mean that I inherit a new copy of 
the index.*

-- 

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