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:[EMAIL PROTECTED] > Sent: mardi, 13. mai 2008 21:57 > To: [email protected] > 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.
