[odb-users] Index of member of composite value

Andreas Pasternak a.pasternak at mt-robot.com
Fri Apr 1 07:22:14 EDT 2016


Hello all,

Is it possible to make a member of a composite value an index like that?

#pragma db value
class Foo {
   #pragma db index
   int x;
}
ODB complains that I am trying to create an index on a non-persistent class.


Thank you!

Andreas



More information about the odb-users mailing list