[hibernate-dev] why are embedded ids indexed?
Emmanuel Bernard
emmanuel at hibernate.org
Mon Jun 6 10:41:11 EDT 2011
On 6 juin 2011, at 14:34, Sanne Grinovero wrote:
> 2011/6/6 Emmanuel Bernard <emmanuel at hibernate.org>:
>> I mean this setting being set to true (RE OGM).
>
> I'm wondering how you would use that, and especially if you wouldn't
> need the class type as well; you wouldn't need it today as all mapping
> is static and so the type can be inferred from the owning
> documentBuilder, but we had some plans to make this dynamic (not sure
> yet?) so we might need to store the runtime type.
>
The id is unique within a class hierarchy that should be sufficient for most cases.
More information about the hibernate-dev
mailing list