This is not a problem for my use case, anyway this is the issue: https://github.com/orientechnologies/orientdb/issues/2225
Riccardo 2014-04-14 14:00 GMT+02:00 Luca Garulli <[email protected]>: > Hi Riccardo, > good question. In OO the underlying property should overwrite the base > one, but this could drives to problems and unexpected behaviors. But if > this is what you need the collate shouldn't be propagated to the sub-field > because it should be managed as an overriding of the base field. > > May you open an new issue attaching this test case? > > Lvc@ > > > > On 14 April 2014 10:19, Riccardo Tasso <[email protected]> wrote: > >> Hi, I can't decide if I found a bug. When I change the collate for a >> field, also the fields with the same name of the super-classes change >> collate. I understood that for a hierarchy of classes the field is the >> same, but this behaviour seems to me a bit unexpected. >> >> In attachment you'll find the test-case. >> >> Cheers, >> Riccardo >> >> >> 2014-04-14 9:23 GMT+02:00 Riccardo Tasso <[email protected]>: >> >> >>> 2014-04-14 9:15 GMT+02:00 Riccardo Tasso <[email protected]>: >>> >>> Thanks, can I do it with a console command? >>> >>> >>> Yes, it is done by: >>> >>> ALTER PROPERTY MyClass.my_property COLLATE ci >>> >>> Thanks for the suggesion, it seems to work. >>> >>> Riccardo >>> >> >> -- >> >> --- >> 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. > -- --- 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.
