Re: [Hibernate] How to inquire an entity name?

2006-06-13 Thread Christian Bauer
On Jun 13, 2006, at 6:24 PM, Yaroslav Gaydash wrote: > How can I inquire about entity name for the given object instance > without > having load the whole object? I could retrieve the given object > instance > class discriminator value with the HQL-query but how can I get the > discriminator-

[Hibernate] How to inquire an entity name?

2006-06-13 Thread Yaroslav Gaydash
How can I inquire about entity name for the given object instance without having load the whole object? I could retrieve the given object instance class discriminator value with the HQL-query but how can I get the discriminator-to-Class mapping from the Hibernate configuration? ___