I tried to understand the overrides attribute from orielly..but the thing is not just clear to me. I am yet to appreciate why is it actually needed. Please explain me.
SCJP 1.4 - 95% [ My Story ] - SCWCD 1.4 - 91% [ My Story ] Performance is a compulsion, not a option, if my existence is to be justified.
Benoît de Chateauvieux
posted 9 years ago
For me, the specs (9.1.10) are clear:
The AttributeOverride annotation is used to override the mapping of a Basic (whether explicit or default) property or field or Id property or field.
The AttributeOverride annotation may be applied to an entity that extends a mapped superclass or to an embedded field or property to override a basic mapping defined by the mapped superclass or embeddable class. If the AttributeOverride annotation is not specified, the column is mapped the same as in the original mapping.
Hope it helps,
SCJP5 | SCBCD5 | SCEA5 Part 1
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads