[hibernate-dev] Clarification of Attribute/Value bindings

Gail Badner gbadner at redhat.com
Thu May 19 17:44:59 EDT 2011

In the new metamodel code, it appears that both "Attribute" and "Value" bindings are modelled using AttributeBinding. The places I've seen references to "Value" bindings (EntityIdentifier, Discriminator) don't necessarily have a domain representation.

I'm working on @IdClass, and this an example where the IdClass itself does not have a representation in the domain model.

I'd like to make some improvements.

Steve, (and anyone else interested) please take a look at https://gist.github.com/981804 and let me know if you see anything inherently wrong with my approach, or if you have some suggestions.


More information about the hibernate-dev mailing list