openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Sutherland <jamess...@yahoo.com>
Subject RE: agent error
Date Wed, 14 May 2008 14:33:24 GMT

They are very simple int and String types.


Michael Vorburger-4 wrote:
> 
> Well, what is the type of those fields in your JPAIndexedPilot class?
> 
> 
> -----Original Message-----
> From: James Sutherland [mailto:jamesssss@yahoo.com] 
> Sent: mardi, 13. mai 2008 21:57
> To: users@openjpa.apache.org
> Subject: agent error
> 
> 
> I'm trying to getting a very simple model working in OpenJPA 1.0.2 in
> JSE 1.5.
> 
> The same test works in both EclipseLink and Hibernate JPA.
> 
> In trying to set the agent, I get the error:
> 
> If I don't set the agent I get similar errors.
> 
>     [java] <openjpa-1.0.2-r420667:627158 fatal user error>
> org.apache.openjpa.util.MetaDataException: Fields
> "org.polepos.teams.jpa.data.JPAIndexedPilot.firstName,
> org.polepos.teams.jpa.data.JPAIndexedPilot.licenseID,
> org.polepos.teams.jpa.data.JPAIndexedPilot.name,
> org.polepos.teams.jpa.data.JPAIndexedPilot.points" are not a default
> persistent type, and do not have any annotations indicating their
> persistence strategy.  If you do not want these fields to be persisted,
> annotate them with @Transient.
>     [java]     at
> org.apache.openjpa.persistence.PersistenceMetaDataFactory.validateStrate
> gies(PersistenceMetaDataFactory.java:399)
>     [java]     at
> org.apache.openjpa.persistence.PersistenceMetaDataFactory.load(Persisten
> ceMetaDataFactory.java:205)
> 


-----
---
http://wiki.eclipse.org/User:James.sutherland.oracle.com James Sutherland 
http://www.eclipse.org/eclipselink/
 EclipseLink ,  http://www.oracle.com/technology/products/ias/toplink/
TopLink 
Wiki:  http://wiki.eclipse.org/EclipseLink EclipseLink , 
http://wiki.oracle.com/page/TopLink TopLink 
Forums:  http://forums.oracle.com/forums/forum.jspa?forumID=48 TopLink , 
http://www.nabble.com/EclipseLink-f26430.html EclipseLink 
Book:  http://en.wikibooks.org/wiki/Java_Persistence Java Persistence 
-- 
View this message in context: http://www.nabble.com/agent-error-tp17217032p17232539.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.


Mime
View raw message