[hibernate-dev] Default entity's data access

Emmanuel Bernard emmanuel at hibernate.org
Thu Jul 1 10:43:22 EDT 2010

Give me the spec paragraph that says that field has priority over getter. 

On 1 juil. 2010, at 11:06, Andersen Max <max.andersen at redhat.com> wrote:

>> The spec dedicates a whole paragraph about the default access type using  
>> using annotations, but I could
>> not find anything regarding the default access type using orm.xml only. It  
>> seems it is up to
>> the implementor to decide on the the default. Why would you consider  
>> 'property' access to be the wrong default?
> The problem is that eclipse tooling tries and validate if the orm.xml actually maps to something
> "legal".
> Currently the default for orm.xml seem to be field access first thus it fails validation if there is no
> matching field.
> The Eclipse tooling claims to be following the JPA spec thus why we are asking what Hibernate
> is basing its choice on.
> /max
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev

More information about the hibernate-dev mailing list