On 1 juil. 2010, at 18:28, Andersen Max wrote:
> Give me the spec paragraph that says that field has priority over getter.
Where is the spec that says getter has priority over field ? :)
The spec does not, that's the point :)
In a separate discussion with the Dali (eclipse jpa tooling) team it
for orm.xml it is not at all specified and thus left up to interpretation of the vendor
and it seems the ref implementation (eclipselink) takes the opposite approach to
this than Hibernate and we get stuck in the middle.
+1 some kind of "dialect". I do believe getter is a better choice for Hibernate
and in general for various reasons, but I am also sympathetic to the other side.