Hi all,
I've move my application from debugging in eclipse to packaging it into a WAR file and deploying it on Tomcat. Using remote debugging, I find that the following error is being thrown anytime a named query is called. <openjpa-1.0.0-r420667:568756 nonfatal user error> org.apache.openjpa.persistence.ArgumentException: An error occurred while parsing the query filter "SELECT x FROM Foo x WHERE x.bar=:bar". Error message: No field named "bar" in class "x". If I run a regular find or findAll, the classes load up fine. Any thoughts as to why this would happen? Thanks, Marc Note: I know this makes it harder to help, but unfortunately I can't post my actual code (NDA, etc). What I can say is that the same code works fine when debugging from eclipse. --------------------------------------------------------------------- This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
