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 Mon, 13 Oct 2008 19:27:51 GMT
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