[odb-users] Defining multiple PKs - needed to define also
comparison members
Boris Kolpackov
boris at codesynthesis.com
Mon Apr 13 10:18:36 EDT 2015
Hi Nicholas,
Nicholas Cremonesi <nicholas.cremonesi at gmail.com> writes:
> "value type that is used as object id in persistent class with session
> support does not define the less than (<) comparison"
>
> I'm using the exact code you provided so, how can I avoid this error?
> The multiple PK I'll define will contain two values of type "string". Is it
> essential to define <, >, = comparators?
See Section 7.2.1, "Composite Object Ids".
Boris
More information about the odb-users
mailing list