Re: [hibernate-dev] Clarification of Attribute/Value bindings

2011-05-19 Thread Steve Ebersole
Well there are 2 orthogonal distinctions here. 1) Physical versus virtual attributes: some values in the relational model correspond to attributes physically defined on the domain model, some do not. 2) Then there is the question of cardinality of the value (one column or multiple). In genera

[hibernate-dev] Clarification of Attribute/Value bindings

2011-05-19 Thread Gail Badner
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 exampl