Re: [hibernate-dev] Default entity's data access

2010-07-01 Thread Andersen Max
On Jul 1, 2010, at 22:48, Emmanuel Bernard wrote: > > 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 poi

Re: [hibernate-dev] Default entity's data access

2010-07-01 Thread Emmanuel Bernard
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 tooli

Re: [hibernate-dev] Default entity's data access

2010-07-01 Thread Andersen Max
> Give me the spec paragraph that says that field has priority over getter. Where is the spec that says getter has priority over field ? :) In a separate discussion with the Dali (eclipse jpa tooling) team it seems like for orm.xml it is not at all specified and thus left up to interpretation o

Re: [hibernate-dev] Default entity's data access

2010-07-01 Thread Emmanuel Bernard
Give me the spec paragraph that says that field has priority over getter. On 1 juil. 2010, at 11:06, Andersen Max 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 o

Re: [hibernate-dev] Default entity's data access

2010-07-01 Thread Andersen Max
> 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' acce

Re: [hibernate-dev] Default entity's data access

2010-06-24 Thread Dmitry Geraskov
Hi, Hardy, >but I could not find anything regarding the default access type using orm.xml only the same for me, I also wanted to find orm.dtd and look for default values like I found for hibernate-mapping here: http://www.koders.com/xml/fidD6EE54ED93539E461E947B87F881E8A50DF4DEC5.aspx?s=mdef%3

Re: [hibernate-dev] Default entity's data access

2010-06-24 Thread Hardy Ferentschik
Hi Dmitry, for JPA 2 the official reference is the final version of the JSR 317 (see also http://java.sun.com/xml/ns/persistence/orm_2_0.xsd) The spec dedicates a whole paragraph about the default access type using using annotations, but I could not find anything regarding the default access

[hibernate-dev] Default entity's data access

2010-06-24 Thread Dmitry Geraskov
Hi, guys, who could tell me what a default data access should be used in case of entity mapping through orm.xml (field/property)? Is it written anywhere? I ask because there is seems a bug in hibernate - it use "property" access by default. Dmitry Geraskov. __

[hibernate-dev] Default entity's data access

2010-06-24 Thread Dmitry Geraskov
Hi, guys, who coud tell me what a default data access should be used in case of entity mapping through orm.xml (field/property)? Is it written anywhere? I ask because there is seems a bug in hibernate - it use "property" access by default. Dmitry Geraskov. ___