On 6 juin 2011, at 16:41, Emmanuel Bernard wrote: > > On 6 juin 2011, at 14:34, Sanne Grinovero wrote: > >> 2011/6/6 Emmanuel Bernard <emman...@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.
Oh an JPA *does not* support what you guys want to do with your downcasting at the query level. _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev