Hi,

by design, unique indexes on base class are shared with subclasses, if you
need a different behavior you have to manually define indexes on the
subclasses.

About the first problem, it would help a lot if you could provide a test
case to reproduce the issue

Thanks

Luigi


2015-08-25 11:53 GMT+02:00 MV-dev1 <[email protected]>:

> Yes, I am using the latest release -- V. 2.1
>
> *PROBLEM #1:*  "all kinds of randomness"
>
> After a bunch of data has been loaded and when I SELECT FROM <some derived
> class> I see IN/OUT links listed which I didn't create, to types I didn't
> create.
>
> I can get you on to see my data.
>
> *PROBLEM #2:* the index page doesn't lists only 1 UNIQUE index on the
> base class and none for the derived classes.
>
> When I go to the Schema tab of Studio and click 'All Indexes' I was seeing
> only 1 index on the base class but I have 6 other classes derived from this
> base class.
>
> I expected that you'd have inheritance where it created an entirely new
> class with new indexes.
>
> So, I would expect to see indexes listed for X.s and Y.s and maybe not for
> the base class.
>
> *As I wake up today after sleeping for a few hours I might have a clearer
> head on this...*
>
> Maybe it was my misunderstanding because I didn't have the word ABSTRACT
> here?  Could that be it?
>
> Is it possible to change it in place?
>
>
> On Tuesday, August 25, 2015 at 10:50:58 AM UTC+3, [email protected]
> wrote:
>>
>> Hi,
>>>
>>
>>
>>> Which version are you using?
>>> I've tried your code and the subclasses inherit the index from the main
>>> class. (V. 2.1);
>>> I don't understand your first question, can you explain it better,
>>> please?
>>>
>>
>> Regards,
>> Michela
>>
> --
>
> ---
> 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.
>

-- 

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