Wolfgang Knauf [
http://community.jboss.org/people/WolfgangKnauf] replied to the
discussion
"NamedQuery problem: TABLE is not mapped"
To view the discussion, visit:
http://community.jboss.org/message/559393#559393
--------------------------------------------------------------
Hi Daniel,
actually, it should not be necessary to trouble with hibernate config, it should detect
Entity Beans itself.
Where do you declare and use your query? I don't see a "@NamedQuery"
annotation on the entity (where they have to be placed, other locations as session beans
don't work as far as I remember). Do you call the query directly against the entity
manager?
Best regards
Wolfgang
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/559393#559393]
Start a new discussion in EJB 3.0 at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]