geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jay D. McHugh" <jaydmch...@gmail.com>
Subject Re: Exception in using: @OneToMany with mappedBy
Date Thu, 16 Oct 2008 23:15:01 GMT
Marco,

Any luck?

Jay

Jay D. McHugh wrote:
> Marco,
> 
> Sorry that it took so long for anyone to send you a response.
> 
> Here is something to try.
> 
> Add an annotation to your entity classes of:
> 
> @XmlAccessorType(XmlAccessType.PROPERTY)
> 
> I think that OpenJPA has field access set by default.
> 
> Or, if you want to use field access instead, you can explicitly annotate
> your classes with:
> 
> @XmlAccessorType(XmlAccessType.FIELD)
> 
> Hope that helps,
> 
> 
> Jay
> 
> MarWestermann wrote:
>> Hi,
>>
>> nobody an idea? I cannot find anything for this.
>>
>> regards Marco

Mime
View raw message