Re: [org.apache.openjpa.persistence.ArgumentException - An error occurred while parsing the query filter select x from Person x. Error message: The name Person is not a recognized entity or identi

2014-02-13 Thread Rick Curtis
Is it possibly some sort of classloading issue? I know in the past we've seen the 'The name x is not a recognized entity or identifier. Perhaps you meant n' in the past, but it seems like most of those were cleaned up. One shot it the dark would be to try to enable property name=openjpa.

Re: [org.apache.openjpa.persistence.ArgumentException - An error occurred while parsing the query filter select x from Person x. Error message: The name Person is not a recognized entity or identi

2014-02-12 Thread Rick Curtis
Please post the contents of your persistence.xml. Thanks, Rick On Wed, Feb 12, 2014 at 10:45 AM, Sebarry seanjamesba...@yahoo.co.ukwrote: Hi, I'm getting the following error trying to poll a JPA entity Person. There's no error in the code. Everything compiles ok with a mvn clean install

Re: [org.apache.openjpa.persistence.ArgumentException - An error occurred while parsing the query filter select x from Person x. Error message: The name Person is not a recognized entity or identi

2014-02-12 Thread Sebarry
Hi Rick, Here's the contents of my persistence.xml persistence xmlns=http://java.sun.com/xml/ns/persistence; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; version=1.0 persistence-unit name=person2 transaction-type=JTA