I tried to execute an unnamed query (using the 0.9.7 release) and got
the following
ArgumentException: Could not locate metadata for the class using alias
User.
All named queries on that same entity work fine.
All mapping is specified externally (orm.xml; no Annotations). The
Structure
Henning-
Do you have the User class listed in a class tag in your
persistence.xml file? Can you show us your persistence.xml file?
On May 3, 2007, at 9:07 AM, Blume H., ITSC Bonn, RTB, DA wrote:
I tried to execute an unnamed query (using the 0.9.7 release) and got
the following
Could not locate metadata for the class using alias
---
Key: OPENJPA-228
URL: https://issues.apache.org/jira/browse/OPENJPA-228
Project: OpenJPA
Issue Type: Bug
Affects Versions: 0.9.6,
[
https://issues.apache.org/jira/browse/OPENJPA-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12491537
]
Patrick Linskey commented on OPENJPA-228:
-
I haven't run it yet, but a couple of things look suspicious:
[
https://issues.apache.org/jira/browse/OPENJPA-228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Patrick Linskey closed OPENJPA-228.
---
Resolution: Fixed
Persistent classes were not enhanced prior to use. Added a better error